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 |

volume bars in TC Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
dhirenshah
Posted : Thursday, October 11, 2018 2:54:10 PM
Registered User
Joined: 3/10/2012
Posts: 465

Bruce how are the volume bars histograms calculated ? 

I mean what gives green colour to volume bar and what gives red colour to volume bars ??

Bruce_L
Posted : Thursday, October 11, 2018 2:58:57 PM


Worden Trainer

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

It is based on the net change in price (current price or close versus previous close). If the net change is positive, the color is green, otherwise the color is red.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dhirenshah
Posted : Thursday, October 11, 2018 3:02:42 PM
Registered User
Joined: 3/10/2012
Posts: 465

Ok good, now is there a pcf that u can write where the volume colour is based on open and close of price bars ?

so current price or close is greater then open then it gives volume bar as green and current price close is less then open then volume bar is red  ?

thanks 

Bruce_L
Posted : Thursday, October 11, 2018 3:18:21 PM


Worden Trainer

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

You could plot three Custom PCF Indicators and overlay them into the same pane and scale as each other.

The first would be the base color (maybe yellow or white?):

V

The second would be in green.

IIF(C > O, V, 1 / 0)

And the third would be in red.

IIF(C < O, V, 1 / 0)

Alternately you could use green or red for the first formula (whichever one you wanted to use for a true doji) and then use just one of the second or third formulas (the opposite color versus what you used for the first formual).

How to Overlay an Indicator (choose & Scale With)


-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dhirenshah
Posted : Thursday, October 11, 2018 3:32:36 PM
Registered User
Joined: 3/10/2012
Posts: 465

Perfect Bruce , 

thankyou :)

Bruce_L
Posted : Thursday, October 11, 2018 3:35:24 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.