2022.04.26 23:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 00:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 01:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 02:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 03:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 04:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 05:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 06:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 07:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 08:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 09:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 10:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 11:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 12:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 13:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 14:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 15:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 16:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 17:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 18:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 2022.04.27 19:00:00 DashScalper_EA EURUSD,H1: OrderSend error 148 strategy tester report 10 total trades
I already did the backtest on my MetaTrader and these errors don't appear!

- www.mql5.com
- error 148 >>> This check must be added to your EA:
Limiting Number of Pending Orders
There can also be a limit on the number of active pending orders that can be simultaneously placed at an account. Example of the IsNewOrderAllowed() function, which checks if another pending order can be placed.
//+------------------------------------------------------------------+ //| Check if another order can be placed | //+------------------------------------------------------------------+ bool IsNewOrderAllowed() { //--- get the number of pending orders allowed on the account int max_allowed_orders=(int)AccountInfoInteger(ACCOUNT_LIMIT_ORDERS); //--- if there is no limitation, return true; you can send an order if(max_allowed_orders==0) return(true); //--- if we passed to this line, then there is a limitation; find out how many orders are already placed int orders=OrdersTotal(); //--- return the result of comparing return(orders<max_allowed_orders); }The function is simple: get the allowed number of orders to the max_allowed_orders variable; and if its value is not equal to zero, compare with the current number of orders. However, this function does not consider another possible restriction - the limitation on the allowed total volume of open positions and pending orders on a specific symbol.
I wouldn't recommend this... The correct thing to do is to correct the errors pointed out by the validation system.
I wouldn't recommend this... The correct thing to do is to correct the errors pointed out by the validation system.
Thanks for the input but honestly I was in the trenches with the exact same scenario .My EA passed then I changed the name then it kept failing . It passed the first time ,He's just gonna be sitting for 5 days trying to sort something that wasn't broken .
If you don't know the code, how can you say there are no errors? The author of the question contacted me directly and, from the information he gave me, the two errors pointed out by the validation system so far are absolutely legitimate.
If you don't know the code, how can you say there are no errors? The author of the question contacted me directly and, from the information he gave me, the two errors pointed out by the validation system so far are absolutely legitimate.
I am having trouble updating my EA. I am sending the same code with only the name corrected
but in same line,
and it keeps giving me these errors, even though it is the same code I sent and was approved before.
so? which is it? you changed and corrected the name, or is it the same code? if you changed the name, then, it is not the same code; even if the error is clearly described.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am having trouble updating my EA. I am sending the same code with only the name corrected, and it keeps giving me these errors, even though it is the same code I sent and was approved before.
test on EURUSD,H1
strategy tester report 74 total trades
test on NZDUSD,H1
there are no trading operations
test on GBPUSDcheck,M30
2022.02.01 00:00:00 DashScalper_EA GBPUSDcheck,M30: initialization failed (1)
there are no trading operations