For example, if you have:
Code: Select all
Input: Length(10);
Var: Flag(1);
Once (CurrentBar = 1) Begin
Flag = 0;
End;
If Flag = 1 Then Begin
Plot1(Xaverage(Close, Length));
End;
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?