Directional instruction in the “FOR” loop.
Syntax:
1 |
TO |
Example:
1 2 3 |
FOR x = 1 TO 20 DO //loop x from 1 TO 20 var = var + close[x]/open[x] NEXT x |
Directional instruction in the “FOR” loop.
Syntax:
1 |
TO |
Example:
1 2 3 |
FOR x = 1 TO 20 DO //loop x from 1 TO 20 var = var + close[x]/open[x] NEXT x |