Correcting code in 7 EAs to pass Market Validation

 

Hi, 

I will like to know about any coder that can correct 7 EAs to pass market validation. I seriously cannot code it. I have tried almost everything, but of course, no what is totally correct :)

The coder can have a copy of the EAs In Exchange. It is certainly a simple task for someone used to coding. 

Anybody that can help me with some code corrections? You can also write me by message.

Thanks a lot!

 
Yajaira Thibisay Martinez Jaimes:

Hi, 

I will like to know about any coder that can correct 7 EAs to pass market validation. I seriously cannot code it. I have tried almost everything, but of course, no what is totally correct :)

The coder can have a copy of the EAs In Exchange. It is certainly a simple task for someone used to coding. 

Anybody that can help me with some code corrections? You can also write me by message.

Thanks a lot!

The problem is that debugging the EA to pass market validation needs access to the market validation's log. Do it yourself.

Check the errors, there's few already explained on the forum and we may help if you post the others there. 

But you're true, we are all agree on this, the market validation process is super-strict ;)

 
Icham Aidibe:

The problem is that debugging the EA to pass market validation needs access to the market validation's log. Do it yourself.

Check the errors, there's few already explained on the forum and we may help if you post the others there. 

But you're true, we are all agree on this, the market validation process is super-strict ;)

Thank you Icham! I have checked and recheked. I have added code, I have deleted code, but as I am not good at coding I am getting errors: 3, 130, 131, 148 or no trades. As I know some parameters will not pass backtest because they are thought for M1 not for H1, I have set special parameters for the H1, M30 and D1 testings but there is no success yet. It is like there was no escape. That is why I guess someone with ease at coding can spot the errors and where to correct them at first sight. The EAs function well in Live, so there is no problem with the base code. 

 
The EAs function well in Live, so there is no problem with the base code

I am getting errors: 3, 130, 131, 148 

I seriously doubt that! 


Constant Value Description
ERR_NO_ERROR 0 No error returned.
ERR_NO_RESULT 1 No error returned, but the result is unknown.
ERR_COMMON_ERROR 2 Common error.
ERR_INVALID_TRADE_PARAMETERS 3 Invalid trade parameters.
ERR_SERVER_BUSY 4 Trade server is busy.
ERR_OLD_VERSION 5 Old version of the client terminal.
ERR_NO_CONNECTION 6 No connection with trade server.
ERR_NOT_ENOUGH_RIGHTS 7 Not enough rights.
ERR_TOO_FREQUENT_REQUESTS 8 Too frequent requests.
ERR_MALFUNCTIONAL_TRADE 9 Malfunctional trade operation.
ERR_ACCOUNT_DISABLED 64 Account disabled.
ERR_INVALID_ACCOUNT 65 Invalid account.
ERR_TRADE_TIMEOUT 128 Trade timeout.
ERR_INVALID_PRICE 129 Invalid price.
ERR_INVALID_STOPS 130 Invalid stops.
ERR_INVALID_TRADE_VOLUME 131 Invalid trade volume.
ERR_MARKET_CLOSED 132 Market is closed.
ERR_TRADE_DISABLED 133 Trade is disabled.
ERR_NOT_ENOUGH_MONEY 134 Not enough money.
ERR_PRICE_CHANGED 135 Price changed.
ERR_OFF_QUOTES 136 Off quotes.
ERR_BROKER_BUSY 137 Broker is busy.
ERR_REQUOTE 138 Requote.
ERR_ORDER_LOCKED 139 Order is locked.
ERR_LONG_POSITIONS_ONLY_ALLOWED 140 Long positions only allowed.
ERR_TOO_MANY_REQUESTS 141 Too many requests.
ERR_TRADE_MODIFY_DENIED 145 Modification denied because an order is too close to market.
ERR_TRADE_CONTEXT_BUSY 146 Trade context is busy.
ERR_TRADE_EXPIRATION_DENIED 147 Expirations are denied by broker.
ERR_TRADE_TOO_MANY_ORDERS 148 The amount of opened and pending orders has reached the limit set by a broker.


Guess it's time you start reading the documentation

https://docs.mql4.com/

 
Kenneth Parling:

I seriously doubt that! 


Constant Value Description
ERR_NO_ERROR 0 No error returned.
ERR_NO_RESULT 1 No error returned, but the result is unknown.
ERR_COMMON_ERROR 2 Common error.
ERR_INVALID_TRADE_PARAMETERS 3 Invalid trade parameters.
ERR_SERVER_BUSY 4 Trade server is busy.
ERR_OLD_VERSION 5 Old version of the client terminal.
ERR_NO_CONNECTION 6 No connection with trade server.
ERR_NOT_ENOUGH_RIGHTS 7 Not enough rights.
ERR_TOO_FREQUENT_REQUESTS 8 Too frequent requests.
ERR_MALFUNCTIONAL_TRADE 9 Malfunctional trade operation.
ERR_ACCOUNT_DISABLED 64 Account disabled.
ERR_INVALID_ACCOUNT 65 Invalid account.
ERR_TRADE_TIMEOUT 128 Trade timeout.
ERR_INVALID_PRICE 129 Invalid price.
ERR_INVALID_STOPS 130 Invalid stops.
ERR_INVALID_TRADE_VOLUME 131 Invalid trade volume.
ERR_MARKET_CLOSED 132 Market is closed.
ERR_TRADE_DISABLED 133 Trade is disabled.
ERR_NOT_ENOUGH_MONEY 134 Not enough money.
ERR_PRICE_CHANGED 135 Price changed.
ERR_OFF_QUOTES 136 Off quotes.
ERR_BROKER_BUSY 137 Broker is busy.
ERR_REQUOTE 138 Requote.
ERR_ORDER_LOCKED 139 Order is locked.
ERR_LONG_POSITIONS_ONLY_ALLOWED 140 Long positions only allowed.
ERR_TOO_MANY_REQUESTS 141 Too many requests.
ERR_TRADE_MODIFY_DENIED 145 Modification denied because an order is too close to market.
ERR_TRADE_CONTEXT_BUSY 146 Trade context is busy.
ERR_TRADE_EXPIRATION_DENIED 147 Expirations are denied by broker.
ERR_TRADE_TOO_MANY_ORDERS 148 The amount of opened and pending orders has reached the limit set by a broker.


Guess it's time you start reading the documentation

https://docs.mql4.com/

Yay! I have been investigating a bit and I am solving most. Still, I am finding problems with Volumes, but at least I could solve all the other ones, so far. Thanks a lot!