Registered User Joined: 1/20/2016 Posts: 47
|
Is there a function that gives the bar number to identify it from another bar?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The bars on the chart don't really have numbers. The bars have dates and times. Any number would be an offset from the current bar.
You could add a Custom PCF Cumulative Indicator with the following settings.
- Smoothing Average: 1
- Average Type: Doesn't matter (because the Smoothing Average is 1)
- Up Condition: C > C - 1
- Down Condition: C < C - 1
- Value to Add/Subtract: C / C
This should give you a count of the number of bars since the beginning of the chart when scrolled all the way to the left. The count really isn't useable in any way however other than to calculate offsets using subtraction.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|