Hi... I newbie mql4...
I want return value of first trade OrderOpenPrice to open pending order. My code get error of " ")"-not all control paths return a value". Please tell me what mistake I maked?
Here my code:
Files:
forum.txt
1 kb
- Error of " '}' - not all control paths return a value"
- OrderOpenPrice returns 0
- How can I return 2 different values when using if, else?

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