| SetValue(Place, Value) |
This procedure has two parameters:
| Place | Where the value will be put, typically the variable of the For loop. |
| Value | The value of the indicator at the selected place. |
Example:
|
' This is an indicator Sub Main() For CurrentBar = 13 to Last Roc1 = 100 * (Close(CurrentBar ) - Close(CurrentBar - 12)) SetValue CurrentBar, Roc1 Next End Sub |