[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need EL Assistance



PureBytes Links

Trading Reference Links

I can't make this filter work
 If O > O [1] and L > L [1] and condition1 THEN BEGIN
PLOT1 [1] (L [1],"MAJLOW");
 end;
Condition1 = (Average(C - C[5],10) > Average (C- C[6],10));
Condition2 = (Average(C - C[5],10) < Average (C- C[6],10));

 If O < O [1] AND H < H [1] and condition2 THEN BEGIN
          PLOT2 [1] ( H [1], "MAJHIGH");
end;

It will plot1 low when condition2 is present and plot2 when condition1 is
present
so rendering it useless. If you see my error your help would be appreciated.
Robert