Raphael Schwietering: i am strugglling to get run such mq4 code in mql5. Can someone help me?
Perhaps you should read the manual.
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
MT5: first select a position via CPositionInfo or directly.

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
Hi,
i am strugglling to get run such mq4 code in mql5. Can someone help me?
The code i use in mql4 is this.
When someonce can help ?