- www.mql5.com
- Heiken Ashi Idea
- Volatility Quality Index
- Wrong values of the Heiken Ashi Stochastic indicator mt5
Ernst Van Der Merwe:
.
- www.mql5.com
Hey Ernst! Thank you so much for your help! Unfortunately it seems the two are performing slightly differently. I need them to perform the exact same way. I live in the US and my broker doesn't support MT5 so I need to use MT4 for live trading. But MT5 is a million times faster for backtesting. So I need the ported indicators to perform exactly the same or I'll enter different trades on the live account. The pictures are using identical tick data from dukascopy. I really appreciate the help either way whether or not you want to help me get it to perform identically. It is at least drawing now and looks to be performing very similar.
No worries. Here's the MT4 version.
No worries. Here's the MT4 version.
Hey Ernst, I actually meant I wanted the new mq5 version to perform the same as the original mq4 version I posted. But I was able to modify your script to get it almost there. The main difference is you were averaging open/close/high/low by the close price instead of the open by the open, the close by the close, etc. However it seems off still a little bit. The only differences I see are:
- The original paints a histogram on the main chart to draw the heiken ashi candle, the mt5 version draws a candle.
- The original uses a shifting SMMA and LWMA, the mt5 version does not use any shift.
Hey Ernst, I actually meant I wanted the new mq5 version to perform the same as the original mq4 version I posted. But I was able to modify your script to get it almost there. The main difference is you were averaging open/close/high/low by the close price instead of the open by the open, the close by the close, etc. However it seems off still a little bit. The only differences I see are:
- The original paints a histogram on the main chart to draw the heiken ashi candle, the mt5 version draws a candle.
- The original uses a shifting SMMA and LWMA, the mt5 version does not use any shift.
.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use