- Error opening BUY order : 0
- I want to put my indicator on the market but the wizard says my indicator is an EA
- Invalid Stops - issue
Hi, I have a working bot with 0 errors in Meta Editor.
Even if your EA is designed for Boom & Crash, it has to be able to pass verification on other symbols and types of markets.
You have to properly code your EA to automatically adjust to different contract specifications and broker conditions, irrespective of it being intended for only one specific symbol or market.
Read the following for more information on the validation process.
The checks a trading robot must pass before publication in the Market
MetaQuotes, 2016.08.01 09:30
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.Even if your EA is designed for Boom & Crash, it has to be able to pass verification on other symbols and types of markets.
You have to properly code your EA to automatically adjust to different contract specifications and broker conditions, irrespective of it being intended for only one specific symbol or market.
Read the following for more information on the validation process.
We have no idea how your code is written. We can't even guess. Also, all symbols are different. Some have 5, some have 3, some have 2 or even no decimal digits at all.
It is up to your code to read the contract specifications and find out. You have to read the point size, the tick size, the tick value, etc. You also have to adjust for the minimum and maximum volumes allowed and the step value.
There are several checks, so read the article I referenced for you above and follow-up on every single one of the points mentioned, and remember to consult the documentation as well.
Floating-point has an infinite number of decimals, it's you, not understanding floating-point and that some numbers can't be represented exactly. (like 1/10.)
Double-precision floating-point format - Wikipedia
See also The == operand. - MQL4 programming forum (2013)
If you want to see the correct number of digits, convert it to a string with the correct/wanted accuracy.
question about decima of marketinfo() - MQL4 programming forum (2016)
Please I plead for someone to help me with a source code to pass this Invalid volume from EURUSD during expert validation.
I have tried the source code in the article yet not still working.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use