repper: I don't quite understand, can you explain?
I understand you have a similar case?
I would also add, right after recompiling the EA opened a position, what prevented it from doing it before? A new bar was not added.
The Expert Advisor is built for the example of technology work. In the given example, the autoregressive function is located once when the EA is launched. For real use it should be recalculated periodically. In addition, for normal operation at restart, I would tie the calculation of the autoregressive function to the beginning of the day or the beginning of the week.
Judging by the described situation, I can assume that there were candles between the first start and restart of the EA. As a result, different autoregressive functions were calculated, which resulted in different forecast movements.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
The Expert Advisor works only at the opening of a candle. Therefore, it does not make two trades on one candle.
Nevertheless, it does. Literally three minutes between trades.
I can only say that during these three minutes I compiled the code in the editor.
Nevertheless, it is. Literally three minutes between trades.
I can only say that during these three minutes, I compiled the code in the editor.
After recompiling the code in the editor, the Expert Advisor is restarted in the terminal.
After recompiling the code in the editor, the EA is restarted in the terminal.
I know) The question is what led to two opposite decisions in one candle.
Because it (indicator) redraws the zero bar, at least for me.
Because it (indicator) redraws the zero bar, at least for me.
And I understand you have a similar case?
I would also add, right after recompilation EA opened a position, what prevented it from doing it before? A new bar was not added
Because it(indicator) redraws the zero bar, at least with me
I don't quite understand, can you explain?
I understand you have a similar case?
I would also add, right after recompiling the EA opened a position, what prevented it from doing it before? A new bar was not added.
Hello.
In discussion of the work, you can refer to Arbitration at this link:
I repeat, red line was redrawn at 0 bar, maybe it should be so, I can send you a screenshot in the evening, I was watching on the minutes