
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
The pinescript code is like the following
I'm trying to use the above code in MetaTrader5.
So I tried the following,
[ Using https://www.mql5.com/en/code/33 for getting Heikin Ashi values ]
Then I got the CLOSE buffer value, Which is at the 4th position,
And then I got the EMA of those CLOSE values,
But in Metatrader 5 I'm getting different results compared to the TradingView. I think I did the first and third step right. But I have doubts on how I wrote ha_close = security(ha, res, close[1]) in MQL5. Need help :(