Topic: All trades in MT4 close after 1 bar if using multiple exit indicators
I am wondering that no one has noticed this very serious bug in EA Studio´s exported MQ4 code. If a strategy uses more than 1 exit indicator, every(!) trade will close after just 1 bar in the MT4 backtest and hence in live trading with MT4 too. I´ve tried this on several pairs, several timeframes, it´s always the same: if using 1 exit indicator only, the backtests between EA Studio and MT4 match just perfectly, but if using more than 1 exit indicator, each trade in the MT4 backtest will close after just 1 bar, everytime. It´s also independent from the type of exit indicator. As long as it´s just 1, the backtests always match. The number of entry indicators is unaffected from this, I´ve tried up to 6 with no issues. This is exclusively related to the amount of exit indicators. I´ve attached a screenshot and a strategy where this happens to demonstrate the issue in the ZIP file. I hope this heavy bug can be fixed quickly.