It always seems to hit stop out shortly into testing. All gains are quickly lost.
Same EA with Error Checking, and a little display of total orders and margin used. The EA includes this line:if( Profit1==Profit2*(-1) ) // exactly opposing orders; closem
I wondererd if that could ever be executed. So, I introduced code to count it, and tried. Up until the ea died with margin stop, it didn't, even in the perfect world of no slippaged and constant spreads of the strategy tester.
I wondererd if that could ever be executed. So, I introduced code to count it, and tried. Up until the ea died with margin stop, it didn't, even in the perfect world of no slippaged and constant spreads of the strategy tester.

Forex Broker Guide @ Forex Factory
- www.forexfactory.com
The Brokers product is designed to guide traders in their quest to find the right broker. The information on this page is actively maintained by Forex Factory staff, who research and monitor the listed brokers on a daily basis. This page contains more information than what is first seen. Each section can be expanded by clicking the expand icon...
Files:
Locker.mq4
14 kb

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
Locker:
Author: Виталий