You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
This website has a ton of information on preventing every error that can arise during validation. There are even articles on the topic. But to take advantage of this, you need to be prepared to invest time in improving your programming skills so you can write more robust code. Filtering out unreliable code is exactly what a validator does.
I wouldn't be participating in this thread if you weren't making this nonsense claim that the validator is forcing you to ruin performance or turn a good EA into a mediocre one.
This website has a ton of information on preventing every error that can arise during validation. There are even articles on the topic. But to take advantage of this, you need to be prepared to invest time in improving your programming skills so you can write more robust code. Filtering out unreliable code is exactly what a validator does.
I wouldn't be participating in this thread if you weren't making this nonsense claim that the validator is forcing you to ruin performance or turn a good EA into a mediocre one.
If I may interject... The complaint seems to be about a longstanding and widespread fallacy in which people mistakenly believe that a sound EA is profitable in/on/with all instruments, timeframes, etc.─and the Market Rules/Validator create the appearance of reinforcing it. IMHO, this is a result of applying a uniform set of terms to thousands of custom codes.
Posting "instructions for use" in the product description is helpful but far from "idiot proof." We know that, given the opportunity to disregard instructions, some people will... and they will lose trading capital.
In a perfect world, custom terms could be added by the Seller, and Market products would be fully sortable by potential Buyers. In this way, potential Buyers would be able to filter out products that don't apply to their respective requirements.
At the end of the day, only Metaquotes knows why the Market is structured in the way that it is.💵
You can also pay someone on the freelancing page to polish your code.
But, I don't think it is a problem about the market or other customers, programming EAs is an art and need to be fully understood and needs to be fully studied and lived in order to work out, otherwise it wouldn't...
I suggest reading the documantion that Sergey passed you days ago.
Also I had this problem days, weeks ago, could also read that topic.
https://www.mql5.com/en/forum/504765
For this specific problem that you are saying you could an if.
if(Symbol() == XAUUSD)
{
// Your code
}
else
{
Print("Not the intended symbol");
}
Not sure if this is the rigth please to post.
So, I am triyng half day to upload an EA for Gold trading to the Market. (That's my first time, and maybe also last)
Verification alwasy fail and it just give me the following output below. Hovever, the EA works on Gold and verification test is made on EURUSD, OF COURSE the sl/tp etc. are quite different on that forex pair! (this way it will never pass that "test")
Any info would be appreciated.
______________
test on EURUSD,H1 (hedging) 2023.02.14 15:32:40 failed buy stop 0.2 EURUSD at 1.08000 [Invalid price] 2023.02.14 15:32:59 failed buy stop 0.2 EURUSD at 1.08000 [Invalid price] 2023.02.14 15:33:00 failed buy stop 0.2 EURUSD at 1.08000 [Invalid price] 2023.02.14 15:33:20 failed buy stop 0.2 EURUSD at 1.08000 [Invalid price] 2023.03.10 16:40:40 failed buy stop 0.2 EURUSD at 1.06663 [Invalid price] 2023.03.10 16:40:59 failed buy stop 0.2 EURUSD at 1.06663 [Invalid price] _____________