ritz12384 Posted November 17, 2019 Report Share Posted November 17, 2019 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.... Quote Link to comment Share on other sites More sharing options...
Tradermen Posted November 17, 2019 Report Share Posted November 17, 2019 Ema(c,x) == ref(ema(c,x),-1) ???? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.