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