3 colour volume histogram showing buy volume and sell volume

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
nozjer786
Posts: 3
Joined: 24 Aug 2011

3 colour volume histogram showing buy volume and sell volume

Postby nozjer786 » 08 Jul 2014

Can anyone create this 3 colour volume histogram showing buy volume and sell volume similar to the one attached from NT that i found on net
Attachments
JEUVES 2.jpg
(51.83 KiB) Downloaded 1383 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: 3 colour volume histogram showing buy volume and sell vo

Postby Henry MultiСharts » 08 Jul 2014

Hello nozjer786,

That won't be possible to do exactly the same display with PowerLanguage, but that is possible to show the required values on a chart. Such display can be programmed using MultiCharts .NET.

nozjer786
Posts: 3
Joined: 24 Aug 2011

Re: 3 colour volume histogram showing buy volume and sell vo

Postby nozjer786 » 12 Jul 2014

i am ok with two sepaerate panes one showing buy volume other showing sell volume but pls give me a few lines of program to start with as i am beginner for programming

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: 3 colour volume histogram showing buy volume and sell vo

Postby JoshM » 13 Jul 2014

As an alternative, you can stack histogram bars and play with `SetPlotWidth` to get "tower like" bars:

Image

Code: Select all

if (BarStatus(1) = 2) then begin

Plot1(UpTicks * 3); // Start with the largest value for plot 1
Plot2(UpTicks * 2);
Plot3(UpTicks);

SetPlotColor(1, White);
SetPlotColor(2, Blue);
SetPlotColor(3, Green);

SetPlotWidth(1, 2);
SetPlotWidth(2, 4);
SetPlotWidth(3, 6);

end;
Attachments
scr.13-07-2014 11.25.01.png
(9.57 KiB) Downloaded 1416 times


Return to “User Contributed Studies and Indicator Library”