Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Bar Number Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rcbenjamin1220
Posted : Friday, July 6, 2018 3:47:21 PM
Registered User
Joined: 1/20/2016
Posts: 47

Is there a function that gives the bar number to identify it from another bar?

Bruce_L
Posted : Friday, July 6, 2018 4:44:13 PM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.