Error to update EA

 

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

 
Now the errors changed 

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!

The checks a trading robot must pass before publication in the Market
The checks a trading robot must pass before publication in the Market
  • www.mql5.com
Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by developers in their technical indicators and trading robots. An also shows how to self-test a product before sending it to the Market.
 
  •  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.


 
If it passed before and it is the exact same just keep trying it and it will go through ,It seems it just depends on what the validator is doing and certain tests ,It must change them slightly dates wise or the likes .The exact same thing happened to me If it says it takes trades etc then  it works and you specified it is the exact same .So just keep trying . 
 
Victor Paul Hamilton #If it passed before and it is the exact same just keep trying it and it will go through ,It seems it just depends on what the validator is doing and certain tests ,It must change them slightly dates wise or the likes .The exact same thing happened to me If it says it takes trades etc then  it works and you specified it is the exact same .So just keep trying . 

I wouldn't recommend this... The correct thing to do is to correct the errors pointed out by the validation system.

 
Vinicius Pereira De Oliveira #:

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 .

 
Victor Paul Hamilton #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.

 
Vinicius Pereira De Oliveira #:

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.

 okely dokely my man , my friend . My EA works after I said what to do  , so that's all that matters to me . Have an awesome day ❤️. 
 
Jorge Luiz Guimaraes De Araujo Dias:

I am having trouble updating my EA. I am sending the same code with only the name corrected

but in same line, 

Jorge Luiz Guimaraes De Araujo Dias:

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.