i have a simple afl which tries to find out the lat time the 9 ema was 
not moving up. but the results i get seem to be inconsistant with what 
i can see on the gui.
i just put this on the comentary and am verifying with the chart.

    HigherAndHigher9EMA=EMA(C,9)>Ref(EMA(C,9),-1);
writeval(LastValue(BarsSince(HigherAndHigher9EMA==False)));

Reply via email to