double iADX( |
Code from that page is for Metatrader 5.
You saved that code into a mq4 file so compiler uses MQL4 syntax.
MQL5 and MQL4 are not 100% source code compatible.
Code from that page is for Metatrader 5.
You saved that code into a mq4 file so compiler uses MQL4 syntax.
MQL5 and MQL4 are not 100% source code compatible.
It is like ex4 rename to mq4 and you will get source code:)))))))))))
Not quite! Let us not confuse the OP with such comments which he will misinterpret!
The OP has just begun learning and it is difficult enough for him to distinguish between MQL4 and MQL5. No need to mislead and confuse him even more!
Not quite! Let us not confuse the OP with such comments which he will misinterpret!
The OP has just begun learning and it is difficult enough for him to distinguish between MQL4 and MQL5. No need to mislead and confuse him even more!
ok.
It was a joke.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I tried compiling an EA which is posted below
https://www.mql5.com/en/articles/100
The code is giving compilation error at the following (as wrong parameters count)
adxHandle=iADX(NULL,0,ADX_Period);
I do not see any issue with the statement. How do I fix the error? Error list is attached.