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
If I run with 1$, there will be a 134 error in the tester ?
OK, you write that you have to make deals anyway.
That doesn't make sense to me. What is the point of this?
Let's assume that the trading system is based on patterns for the EURUSD currency pair, it does not matter which ones and in what quantity. The important thing is that these patterns are often repeated during the history only by EURUSD. The probability that we will find a trading instrument in which these patterns cannot exist is very high (especially if we start selecting TFs, but I do not know if the robot does it).
The automaton runs on all random trading instruments (possibly + on random TFs) and, as a result, finds ones in which there are no trades, as no patterns have been detected.
There is no explicit trade restriction for trading instruments.
There is only a peculiarity of the trading system.
So, we have to write a left trading system not related to the EA's trading system only to pass the Market Control?
That's strange to me at least...
I don't know that, such are the requirements for publishing in the marketplace.
Thank you for your reply.
Now I know I'm not the only one who doesn't understand it :)
No error when running the EA in the tester with a TP of $1. I ran it half an hour ago))
After the error there isn't something like a log in the marketplace to see where and what the error is?
You yourself posted the report (log) with errors, and it is clearly stated that there are no trades. Add a dozen lines to the code, so that it makes trades everywhere, except for the required pair, for which the Expert Advisor is written. It can be as simple as that, opening every Tuesday, with a stop and profit of 20 points. Everything
The added: In general, any pattern can be found on any symbol and timeframe, there are none that are only on the euro/dollar, or on the yen/frank
You yourself posted the report (log) with errors, and it is clearly stated that there are no trades. Add a dozen lines to the code, so that it makes trades everywhere, except for the required pair, for which the Expert Advisor is written. It can be as simple as that, opening every Tuesday, with a stop and profit of 20 points. The whole
What's the next step? I'm going to trick the market, and then I'll cut the code out of the owl... How do you think it's easy to write an owl with 10 lines to be validated and then put all sorts of left-handed robots in it? I need to pass validation with a clean code 100% working EA....
You need to protect against any possible incorrect user values, e.g. a negative lot or MM balance = 0, all possible nuances have to be taken into account.
I do all possible checks against stupidity)
double MinL = MarketInfo(Symbol(),MODE_MINLOT);
if (LotSize < MinL) LotSize = MinL; else LotSize = MathAbs(LotSize);
double MaxL = MarketInfo(Symbol(),MODE_MAXLOT);
if (LotSize > MaxL) LotSize = MaxL; else LotSize = MathAbs(LotSize);
// если поставили баланс равный нулю или отрицательный
if (Balance == 0) Balance = 1000; else Balance = MathAbs(Balance);
// если поставили отрицательные значения
if (StopLoss < 0) StopLoss = MathAbs(StopLoss); else StopLoss = StopLoss;
if (TakeProfit < 0) TakeProfit = MathAbs(TakeProfit); else TakeProfit = TakeProfit;
if (StartHour < 0) StartHour = MathAbs(StartHour); else StartHour = StartHour;
if (StartMinute < 0) StartMinute = MathAbs(StartMinute); else StartMinute = StartMinute;
if (EndHour < 0) EndHour = MathAbs(EndHour); else EndHour = EndHour;
if (EndMinute < 0) EndMinute = MathAbs(EndMinute); else EndMinute = EndMinute;
if (FridayExit < 0) FridayExit = MathAbs(FridayExit); else FridayExit = FridayExit;
if (MaxSpread < 0) MaxSpread = MathAbs(MaxSpread); else MaxSpread = MaxSpread;
if (Slippage < 0) Slippage = MathAbs(Slippage); else Slippage = Slippage;
Thank you, I will check these points. So the system in the market may not be setting the correct values? p.s. thanks in advance for your help)))