Function - VALUEWHEN
SYNTAX |
ValueWhen( ARRAY expression, ARRAY array, ARRAY period) |
RETURNS |
NUMERIC ARRAY |
DESCRIPTION |
Returns the value of the array, when the expression is TRUE, of the n -th most recent occurrence |
ADDITIONAL INFO |
|
EXAMPLE |
ValueWhen(cross( close, ma(close, 20)), rsi(14), 10) |
| |