Instruction use in a FOR / NEXT loop to process the loop with a descending order
Syntax:
1 2 |
DOWNTO |
Example:
1 2 3 4 5 6 7 8 9 10 |
Value = 0 FOR i = 20 DOWNTO 0 DO //We are looping from 20 to 0 IF (Close[i] < Open[i]) THEN Value = Value + 1 ELSE BREAK ENDIF NEXT RETURN Value |