2019.07.03 20:00:04.024 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 16:00 Strategy tried to place stop/limit order at incorrect price. Market price: 1.12821, max. price allowed: 1.12821, stop/limit order price: 1.13315 2019.07.03 20:00:04.024 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 16:00 Opening order type SELL STOP with price 1.13315. Current market prices: 1.12832 / 1.12821 2019.07.03 19:56:18.000 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 15:56 Strategy tried to place stop/limit order at incorrect price. Market price: 1.1284, min. price allowed: 1.1284, stop/limit order price: 1.12611 2019.07.03 19:56:18.000 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 15:56 Opening order type BUY STOP with price 1.12611. Current market prices: 1.1284 / 1.12827 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: initialized 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 15:56 -------------------------------------------------------- 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: 2019.07.03 15:56 -------------------------------------------------------- 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 15:56 Starting the EA 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: 2019.07.03 15:56 Starting the EA 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: - SQ LOG 2019.07.03 15:56 -------------------------------------------------------- 2019.07.03 19:56:17.620 Strategy 4.8.143 EURUSD,H1: 2019.07.03 15:56 -------------------------------------------------------- 2019.07.03 19:56:17.521 Strategy 4.8.143 EURUSD,H1 inputs: CustomComment=Strategy 4.8.143; MagicNumber=11112; smm=----------- Money Management - Fixed size -----------; mmLots=0.3; seod=----------- Exit At End Of Day -----------; ExitAtEndOfDay=false; EODExitTime=23:04; seof=----------- Exit On Friday -----------; ExitOnFriday=false; FridayExitTime=22:40; sltr=----------- Limit Time Range -----------; LimitTimeRange=false; SignalTimeRangeFrom=08:00; SignalTimeRangeTo=16:00; ExitAtEndOfRange=false; smtpd=----------- Max Trades Per 2019.07.03 19:56:03.213 Expert Strategy 4.8.143 EURUSD,H1: loaded successfully
So in general the generated EA cannot open/modify any trade, tested on FXOpen & FXPro demo account.
But it doesn' tpreven tsrategy from opening correct orders.
In your log you can clearly see for example:
Opening order type BUY STOP with price 1.12611. Current market prices: 1.1284 / 1.12827
So the current market price (Ask / Bid) is 1.1284 / 1.12827 and EA tries to open Buy Stop order below it. It is not possible. Buy Stop order can be opened only above current market price.
If you stil think there is some error please attch your strategy in .sqx format.