Function - SUMIF
SYNTAX |
SumIf( ARRAY condition, ARRAY array) |
RETURNS |
NUMERIC ARRAY |
DESCRIPTION |
Calculates, when condition is TRUE, a cumulative sum of the ARRAY for all the lookback periods (current bar is included) |
ADDITIONAL INFO |
|
EXAMPLE |
SumIf(rsi(14) > 50, 1) |
| |