in mql5 you need the indicator_plots property, it is missing in your conversion
Conor Mcnamara #:
in mql5 you need the indicator_plots property, it is missing in your conversion
That and you should also know that there are different drawing types in MQL5. For example some of the things that were done with multiple DRAW_HISTOGRAM plots in MQL4 are now done with DRAW_HISTOGRAM_2. in mql5 you need the indicator_plots property, it is missing in your conversion
It is highly recommended that you look this up, in documentation but also there is a very basic article about the new MQL5 drawing styles.
Last thing did you know you can create indicators by means of mql wizard ready with the plot and buffers you need, then you just have to implement the calculation.
tom standly:
Convert MT4 Indicators to MT5 (mt4converter.com) i tried to convert this indicator code from mql4 to mql5. mql5 code shows nothing. what is mql5 code problem?
mql4 code:
converted mql5 code:
Don't use converters or Chat GPT, we can see if a code is hand written or if it was AI..If you post a piece of code written by AI we wont be able to help you. Here is a link on how to convert mt4 to 5
Convert MT4 Indicators to MT5
- mt4converter.com
We will show you how you can upgrade & convert your existing MT4 (MQL4) indicators to be used on the latest MT5 (MQL5) trading platform.
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
i tried to convert this indicator code from mql4 to mql5. mql5 code shows nothing. what is mql5 code problem?
mql4 code:
converted mql5 code: