This code close the manually open trades when
1) LMWA4 and LMWA20 crossed
2) When the profit is more than 50 pips.
Why my trades are closed before LMWA4 and LMWA20 crossed and profit still less than 50 pips? Also, why there are warning messages as below:
return value of 'OrderSelect' should be checked 20250314 Simplified EA.mq4 45 2
return value of 'OrderClose' should be checked 20250314 Simplified EA.mq4 49 2
return value of 'OrderClose' should be checked 20250314 Simplified EA.mq4 57 2
Please help , thanks

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