Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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 ??
|
|
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
|
|
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
|
|
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).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/10/2012 Posts: 465
|
Perfect Bruce ,
thankyou :)
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |