For example, if you have:
Code: Select all
Once (CurrentBar = 1) Begin
Flag = 0;
If Flag = 1 Then Begin
This will not plot anything but XAverage will be called on every bar.
First, is my understanding correct?
Second, if this is the case, is there any way to choose among several calculation methods in an EL program and not have them all get evaluated?
Or do you have to create a separate indicator for each choice?