Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Comparing current vs. previous day's bar (Intraday) Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
shivas62
Posted : Thursday, February 14, 2019 11:48:07 AM
Registered User
Joined: 5/28/2014
Posts: 4

Is there a way to compare the previous day's volume on the first bar on 30min (or anyother intraday timeframe) chart to today's first bar? Thanks.

Bruce_L
Posted : Thursday, February 14, 2019 12:12:10 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

There are 390 minutes in a normal trading day for a stock. You can divide this by the number of minutes in the time frame (rounding any fractions up) to get the number of bars in that time frame.

So a 30 minute time frame has 13 bars. This means that if you want to check how much as a percentage the current 30 minute bar to the same 30 minute bar from the previous tradaing day, this would normally be the following (it could change if there is a market half day):

100 * (V / V13 - 1)

Note that this formula is only going to be the first trading bar of the day while the first bar is forming. Once the second bar starts forming, you would need to add 1 to all of the bars ago parameters.

100 * (V1 / V14 - 1)

You would keep need to add 1 more to the bars ago parameter throughout the trading day as new bars form.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
shivas62
Posted : Friday, February 15, 2019 7:41:19 PM
Registered User
Joined: 5/28/2014
Posts: 4

Thanks Bruce.

Bruce_L
Posted : Friday, February 15, 2019 10:09:21 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-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.