Return the range value between high and low of the selected bar.
Syntax:
1 |
Range[N] |
Example:
1 2 3 4 5 6 7 8 9 10 |
currentrange = Range previousrange = Range[1] if(currentrange<previousrange AND high<high[1]) THEN NearPossibleBullishBreakout = 1 ELSE NearPossibleBullishBreakout = 0 ENDIF RETURN NearPossibleBullishBreakout |