Discussion of article "The checks a trading robot must pass before publication in the Market" - page 9

 

now new validation error :)

suggesting these can be non-critical error e.g. EA can still be published without having them resolved, as opposed to other critical type of error which require programmer to fix. For non-critical validation error, you should have the publish button enabled too with some sort of messages to let the programmer know that validation interuppted by error but its non-critical

 
My bot write to trade XAUUSD. It's cannot pass for EURUSD pair, how can I test it for XAUUSD ? Anyone can help? It's said Invalid Price
 
@Dinh Khanh Do #: My bot write to trade XAUUSD. It's cannot pass for EURUSD pair, how can I test it for XAUUSD ? Anyone can help? It's said Invalid Price

Fix your code so that it properly considers the contract specifications for the symbol being traded.

The article mention at the beginning of this topic, specifically guides you to carry out many of the required checks to achieve this.

Read it, and apply it to your code.

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.
 
Can someone help my my Bot is working on my real money account and on [redacted] and and and also on my clients accounts but cant upload it to MQL because of this "Error".
 
@Kevin Philipp Rupprecht #: Can someone help my my Bot is working on my real money account and on [redacted] and and and also on my clients accounts but cant upload it to MQL because of this "Error".
Read the post just before yours (as well as others posts before it and especially the main article). Put in the effort and dedicate some time to researching the issue.
 

Please help me, I don't understand what's cause my validation to show like this, if I understand the problem, I will know where to fix my code. Thanks

Validator show error

 
Mean Pichponreay #:

Please help me, I don't understand what's cause my validation to show like this, if I understand the problem, I will know where to fix my code. Thanks


Hi, you need to check positions for Margin Stop Out and close positions before Stop Out.

ACCOUNT_MARGIN_SO_SO

 
Nauris Zukas #:

Hi, you need to check positions for Margin Stop Out and close positions before Stop Out.

ACCOUNT_MARGIN_SO_SO

Thank you so much sir, let's me try to fix now.

 
I'm facing the same problem. No matter what I try, nothing seems to work. I've even implemented a mock trading mechanism in my Expert Advisor (EA), but that hasn’t resolved the issue. I hope someone can help us figure out how to bypass this error while still maintaining our EA trading strategy.
 

I really need help—I'm stuck here with a 'no trading operation' error. I would appreciate any advice or assistance on how to fix my code so that I can resolve this issue. I've attempted several shortcuts, but no matter what I do, I keep encountering this error.





Files:
Capture.PNG  20 kb