ive checked but cant seem to find it. actually its a bit of code you gave me that produces it https://www.mql5.com/en/forum/177488 i tried to compile the code but it says "Magic undefined" so i defined it but that produces the end of program error. i know its something im changing but i cant work it out since im neither adding or removing paranthesis
trevman:
ive checked but cant seem to find it. actually its a bit of code you gave me that produces it https://www.mql5.com/en/forum/177488 i tried to compile the code but it says "Magic undefined" so i defined it but that produces the end of program error. i know its something im changing but i cant work it out since im neither adding or removing paranthesis
ive checked but cant seem to find it. actually its a bit of code you gave me that produces it https://www.mql5.com/en/forum/177488 i tried to compile the code but it says "Magic undefined" so i defined it but that produces the end of program error. i know its something im changing but i cant work it out since im neither adding or removing paranthesis
I am absolutely sorry, it's my mistake, the wrong line is
if(!OrderSelect(i,SELECT_BY_POS,MODE_HISTORY) continue;[/PHP]
and the right one should be[PHP]if(!OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)) continue;

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
what does this error mean?
thanks