shizongwan:
Hello
I've converted mq4 to mq5,
however, I'm not able to make it work
here is the original mq4 code hhttps://www.mql5.com/en/code/8966
<CODE REMOVED>
When posting code please use the SRC button: How to use the SRC button.
No you haven't converted it . . . there is no mql5 function called IndicatorCounted() by extern did you mean input ?
This may help: https://www.mql5.com/en/articles/66
The code you posted is mql4. Obviously it doesn't work in MT5. If you need help post the mql5 version.

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
Hello
I've converted mq4 to mq5,
however, I'm not able to make it work
here is the original mq4 code https://www.mql5.com/en/code/8966
<Edit moderator : mql4 code removed>