I finally found a MT3-style super-bug in the MT4 backtester. Remember how in MT3 an stop/limit order placed at an invalid price would be accepted as a market order? Well MT4 fixed that, but they forgot to fix the same problem with modifying existing stop/limit orders. So until this is fixed (I've reported it to MQ), be very careful when modifying stop/limit orders in backtest. And until it's fixed, enjoy the attached sample code.
- Trade - MetaTrader 5 for Android
- Basic Principles - Trading Operations
- Executing Trades - Trading Operations
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