Constant variable that give the daily High of the N selected bar from the current one.
Syntax:
1 |
DHigh(N) |
Example:
1 2 3 4 5 6 7 8 9 10 |
//Looking the highest high of the last 10 bars Newhighest=0 FOR a = 0 TO 10 DO IF DHigh(a)>Newhighest THEN Newhighest = DHigh(a) ENDIF NEXT RETURN Newhighest |