I have a created an afl to plot changes in rate of change of EMA in amibroker. The plot works fine.
I want the candles when ROC(EMA) OR Ema remains constant...like before reversals.
can anyone please help how to code for this condition when EMA does not change in two consecutive candles or ROC of both candles is constant....the code I tried gives all candles as buy....
Amibroker Afl code help
in Trading Platforms
Posted
Hi...
I have a created an afl to plot changes in rate of change of EMA in amibroker. The plot works fine.
I want the candles when ROC(EMA) OR Ema remains constant...like before reversals.
can anyone please help how to code for this condition when EMA does not change in two consecutive candles or ROC of both candles is constant....the code I tried gives all candles as buy....