Ludovic Duriez:
I try to add heiken Ashi price close handle in IMA. But i don't know how to do. For example like this :
Thank you all.
I don't think you can do this that simply. Because your code is trying to access previous close price in a heiken ashi chart(ha_close). And applying EMA formulation to ha_close shifted one bar( ha_close [1]) .
note: You are shifting twice. Is it really what you want?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thank you all.