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

unwanted simultaneous plots2



PureBytes Links

Trading Reference Links

Hi everyone,

I know what the problem is, I just don't know how to solve it...

if xaverage (c,x)> xaverage (c,y) then plot1 (l-2);
if xaverage (c,x)< xaverage (c,y) then plot2 (h+2);

The problem is that sometimes xa1 will be both > and < than xa2 intrabar, 
and I'll get two plots for the same bar. Is there anyway around this. Maybe 
a code that makes the indicator refresh on its own?

TIA

Philip