Find the index of the first (oldest) bar you to start - using iBarShift(..) and start your calculation from there.
Carl Schreiber:
Do you really understand the question ? It's amazing
Find the index of the first (oldest) bar you to start - using iBarShift(..) and start your calculation from there.
- Reduce bar per chart.
- Otherwise reduce bars processed per tick. See How to do your lookbacks correctly.

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
How to reduce/limit number of bars in IndicatorCounted?
For example: I want to count candles in 5 days of every time-frame.