How can one note the moment when CurrentBar is incrementing to the next bar number? For example, if CurrentBar = 10 on a 1 minute chart:
- calculations on bar 10
- CurrentBar increments to bar 11
- new calculation based on last calculation of CurrentBar = 10
- calculations on bar 11
- etc.
perhaps a While statement with some type of flag is appropriate. Any ideas?
Thanks.
Tony

Comment