Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1727
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
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.