Two related questions here:
1) BarsSinceSession will obviously get the number of bars since, say, the start of the day.
But is there a simple (and maybe similar) method which will determine the number of (range) bars on a chart (not just the session)?
2) One of the reasons for needing this is that I'd like the indicator I'm working on (whose purpose is purely to count) to only be effective for the latest bar, i.e. bar [0]. Is there a way of stipulating this?
Any help as always greatly appreciated.
Comment