I wrote Print("Bar count on the 'EURUSD,M1' is ",iBars("EURUSD",PERIOD_M1));, taken from the documentation. I printed the number 1001 in the log.))) Although, the history is loaded, the max is more than 1000000 bars in the settings.
Please advise how to solve the problem
Download the story
2021.11.08 11:02:11.919 !Print_Magic EURUSD,M30: Bar count on the 'EURUSD,M1' is 73589
I wrote Print("Bar count on the 'EURUSD,M1' is ",iBars("EURUSD",PERIOD_M1));, took it from the documentation. The terminal logged the number 1001.) Although, the history is loaded, the max is more than 1000000 bars in the settings.
Please advise how to solve the problem
in the tester always 1000 bars at start (or less).
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.
Thank you.
I wrote Print("Bar count on the 'EURUSD,M1' is ",iBars("EURUSD",PERIOD_M1));, taken from the documentation. I printed the number 1001 in the log.))) Although, the history is loaded, the max is more than 1000000 bars in the settings.Please advise how to solve the problem
Download the story
download the history.
Loaded, in full. Went into the archive, there are 8,000,000 minute bars
And the log says
EURUSD,M1: Bar count on the 'EURUSD,М1' is 1001
Loaded, in full. Went into the archive, there are 8,000,000 minute bars
And the log says
EURUSD,M1: Bar count on the 'EURUSD,М1' is 1001
Thank you.
I wrote Print("Bar count on the 'EURUSD,M1' is ",iBars("EURUSD",PERIOD_M1));, took it from the documentation. The terminal logged the number 1001.) Although, the history is loaded, the max is more than 1000000 bars in the settings.Please advise how to solve the problem
in the tester always 1000 bars at start (or less).
This code shows the signal on the 10th candle, but I need to check the signal on each candle from 1 to N.
This code shows the signal on the 10th candle, but I need to check the signal on each candle from 1 to N.
No, this code checks 10 candlesticks and shows which one the signal was on
In practice it only shows when the signal candle becomes the 10th.
MakarFX, here is a screenshot As soon as the signal candle became the 10th, the value was greater than zero. And before that it was equal to zero.