Discussions
»
Product and Service Development
»
MetaStock
»
How can I make my volume green for up bars and red for down?
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
To accomplish this, two custom indicators will be needed.
The following formulas will display the volume green when the close price is greater than the prior closing price and display the volume red when the close price is less than the prior closing price. To create the indicator;
Open the Tools menu
Select Indicator Builder
Click on New.
Name your indicator (for example Volume Up)
Enter the following syntax into the Formula field:
If(C>=ref(C,-1),V,0)
Click OK
Open the Tools menu
Select Indicator Builder
Click on New.
Name your indicator (for example Volume Down)
Enter the following syntax into the Formula field:
If(C<ref(C,-1),V,0)
Click on OK.
You should now have 2 new indicators in your QuickList.
Apply the Volume Up indicator to a new inner windows in your chart
Right click on the indicator and select properties.
Change the color to green and style histogram, and then click on OK
Apply the Volume Down indicator to same inner window as the Volume Up
Right click on the indicator and select properties.
Change the color to red and style histogram, and then click on OK
I would recommend saving this as a template, perhaps your default template, so that you do not have to do this every time you want it applied to a chart.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
How can I make my volume green for up bars and red for down?
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.