PDA

View Full Version : Equivolume Candles?


funk101
05-18-2007, 01:52 AM
That would be nice.

NinjaTrader_Dierk
05-18-2007, 02:05 AM
I suppose you mean series of type "Volume" which are supported right now.

funk101
05-18-2007, 02:12 AM
Candles that display in the normal way vertically, but expand width-wise to show volume.
See this link for a brief desc. plus image...

http://www.investopedia.com/terms/e/equivolume.asp

NinjaTrader_Dierk
05-18-2007, 02:14 AM
I see. Thanks for clarification. We'll put it to our list of future enhancements. Thanks for your suggestion.

funk101
05-18-2007, 02:19 AM
That also would be nice. For instance, sits nice under chart trader, which is where I have mine right now to save space. Actually, on the whole, dockable windows would be nice. Use your imagination :)

NinjaTrader_Dierk
05-18-2007, 02:37 AM
We'll put it to our list of future enhancements. Thanks for your suggestion.

ts888
10-25-2007, 08:26 AM
We'll put it to our list of future enhancements. Thanks for your suggestion.

I know you guys have a really long list of future enhancements but just wanted to check back in on this equivolume bars idea. It's available in several other popular platforms and would love to see it here.

NinjaTrader_Dierk
10-25-2007, 08:33 AM
You mean "Volume" bars? NT6 supports them since months.

ts888
10-25-2007, 08:35 AM
You mean "Volume" bars? NT6 supports them since months.

they are slightly different as explained by other poster below. Here is a link for better explanation. http://www.armsinsider.com/education/armsonthemarket/equiv_chart.asp (http://www.armsinsider.com/education/armsonthemarket/equiv_chart.asp)

thanks

traderjack52
11-03-2007, 05:27 PM
Will equivolume bars be in the next release? I am moving from TradeStation to either Ninja or NeoTicker but equivolume bars are an absolute must for me and NeoTicker has em. Will Ninja soon ??

NinjaTrader_Dierk
11-04-2007, 04:30 AM
Unfortunately there is no ETA yet.

VagyokC4
11-10-2007, 12:03 AM
I think I would like to see this as well :)

Rico.
07-16-2008, 01:19 AM
Any news regarding equivolume charts ?

http://www.incrediblecharts.com/technical/equivolume.php

NinjaTrader_Dierk
07-16-2008, 01:35 AM
Unfortunately there are no news available.

sysimp
08-19-2008, 09:00 PM
If ninja exposed the barwidth property, we could do this ourselves...

(assuming that we were warned of the plotting errors that may occur due to lack of control of the plotting space?)

NinjaTrader_Josh
08-19-2008, 10:20 PM
You can adjust the barwidth through Chart Properties. This is more of a universal application as opposed to single bars though.

Rollins
08-20-2008, 01:01 AM
It can be done by writing your own custom plotting algorithm, look at Gumphrie's HeikenAshi indicator for inspiration. It probably wouldn't be pretty though.

jackh
07-13-2009, 02:28 PM
Any news yet on whether these will be included in Version 7?

NinjaTrader_Ray
07-13-2009, 04:33 PM
Any news yet on whether these will be included in Version 7?

We are not sure if this will be implemented in NT7 or not. They are on our list but we may not get to it. Here is a current list of NT7 features.

http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

Willem
09-26-2009, 09:43 AM
Count me in as well

Cheers W

JS999
09-26-2009, 10:31 AM
Definitely count me in on this one too... if you don't get it done in the first iteration of NT for the initial release, please add it as soon as possible after launch...

Willem
09-27-2009, 06:22 AM
This is how others do it. Dont know if it can be used
Cheers, W

http://www.ensignsoftware.com/espl/espl15.htm

This example implements an EquiVolume plot on a chart. It not intended to update in real-time or to be persistent by redrawing itself when a chart repaints. It will draw an EquiVolume image on a chart when the #9 button on the script editor is clicked.
Cut the script from this page and paste it into the ESPL Script editor. Click on the #9 button on the script editor form to execute.

procedure EquiVolume;
var
i,xPos,iVolRange,iBarIndex: integer;
OO,HH,LL,CC,x,cl: integer;
begin
if FindWindow(eChart)>0 then
begin
i:=BarEnd;
xPos:=IndexToX(BarEnd);
iVolRange:=Highest(eVolume,BarEnd,BarEnd,iBarIndex ,1,0);
while (i>1) and (xPos>0) do
begin
OO:=PriceToY(Open(i));
HH:=PriceToY(High(i));
LL:=PriceToY(Low(i));
CC:=PriceToY(Last(i));
if (OO < CC) then cl:=clRed else cl:=clLime;
SetPen(cl);
SetBrush(cl);
x:=20*Volume(i) div iVolRange; if x=0 then x:=1;
Rectangle(xPos-x,HH,xPos,LL);
SetPen(clBlack);
MoveToLineTo(xPos-x div 2,CC,xPos,CC); {close}
MoveToLineTo(xPos-x,OO,xPos-x div 2,OO); {open}
xPos:=xPos-x-2;
dec(i);
end;
end;
end;

{**********Main Program**********}
begin
if who=9 then EquiVolume;
end;

Notes: i is the index for the bar records and initialize to start at the last bar on the chart.
xPos is the horizontal plotting position.
iVolRange is the largest volume for the bars in the chart's data set.
The while statement will loop until we run out of bars or until the plot reaches the left edge of the chart.
OO, HH, LL, CC are the vertical plot positions on the chart for the prices from bar( i ).
Depending on the open vs. close relationship, choose a color for the bar.
x will be the width of the bar up to a maximum of 20 pixels.
The Rectangle function draws the bar for height and width and colors the interior of the rectangle.
MoveToLineTo draws a line in black for the close and open tick hashes.
Step the plot position to the left and decrement the index i.

dwhall
10-31-2009, 12:07 PM
Here's a 3rd party add-on for Equivolume from indicatorwarehouse. http://www.indicatorwarehouse.com/Equivolume-Bars.htm

I may have to buy it - seems like it should work great looking for dry volume (thin bars) before going long/short maybe using other indicators.

cclsys
11-01-2009, 07:35 AM
Check out edsvolpricebar in the file sharing area for indicators. I tried loading it this weekend when not connected and it didn't seem to work, but I believe its intention is to plot equivolume bars. It is a very good feature and I strongly recommend it go into NT7.

Also Point and Figure with nicer drawing options than 0 and X and ability to shrink them into solid bars of different color when zooming out the chart to view more data every once in a while.

traderlars
12-20-2009, 11:52 PM
are you guys over at ninja planning on adding BASIC equivolume. for a troupe of programmers this should be a breeze. if you do your homework you'll notice that any PROFESSIONAL level package has this.

and that implementation over at indicator warehouse does NOT look correct at all. that is some proprietary formula to calculate the bars. ninja should use richard arms original formula.

NinjaTrader_Jason
12-21-2009, 04:05 AM
Hello traderlars,

I will forward your suggestion to our development team and ask them if they can add this to the list of future considerations for the software.

klassej
01-27-2010, 11:15 AM
Hi,
I've modified the existing out-of-the-box Candle so it scales the width according to what the volume is. Try sticking this file in: Documents\NinjaTrader 7\bin\Custom\Type, open an indicator NinjaScript, compile and restart.

9085

The specified barwidth in the settings is used as the maximum width so you could try setting it to 9-10 something.

http://i336.photobucket.com/albums/n323/klassej/Capture.jpg

Note: I've only tried it in NinjaTrader 7.

Regards

JS999
01-27-2010, 11:48 AM
Hi,
I've modified the existing out-of-the-box Candle so it scales the width according to what the volume is. Try sticking this file in: Documents\NinjaTrader 7\bin\Custom\Type, open an indicator NinjaScript, compile and restart.

9085

The specified barwidth in the settings is used as the maximum width so you could try setting it to 9-10 something.

http://i336.photobucket.com/albums/n323/klassej/Capture.jpg

Note: I've only tried it in NinjaTrader 7.

Regards

Thanks a lot! This seems to work fairly nicely. I was just wondering though - is there any way to construct this as an additional/new chart type so you we could still use the original candlestick chart type as well if we wanted to? Right now it replaces the original code, so if we want to use this we'll have to forego original candles on any of our charts... much appreciated!

dwhall
01-27-2010, 12:22 PM
Thanks. What's the secret to becomming a beta tester? I've tried signing up a couple of times. Looking forward to using CandleVol when v7 is released - wish I could try it out now.

I tried in v6.5 and got some errors - guessing a newer version of the framework is being used in v7.

JS999
01-27-2010, 12:29 PM
Thanks. What's the secret to becomming a beta tester? I've tried signing up a couple of times. Looking forward to using CandleVol when v7 is released - wish I could try it out now.

I tried in v6.5 and got some errors - guessing a newer version of the framework is being used in v7.

I applied very early on to be a beta tester... I think there's a public beta that should be out soon anyways... probably in the next few weeks would be my guess, although they haven't said anything official.

klassej
01-27-2010, 12:59 PM
Thanks a lot! This seems to work fairly nicely. I was just wondering though - is there any way to construct this as an additional/new chart type so you we could still use the original candlestick chart type as well if we wanted to? Right now it replaces the original code, so if we want to use this we'll have to forego original candles on any of our charts... much appreciated!

Sorry, but I'm not sure how one accomplishes that. Anyone?

JS999
01-27-2010, 01:14 PM
Sorry, but I'm not sure how one accomplishes that. Anyone?

I don't know how you create a new type, however I did manage to get it to override a chart type that I hardly ever use (the Box type). All you have to do is change this line:

public CandleVolStyle()
: base(ChartStyleType.CandleStick)

to this

public CandleVolStyle()
: base(ChartStyleType.Box)


It will then override the Box type instead of the standard CandleStick type, which will let you switch between normal and equivolume candles.

laredo
02-03-2010, 05:44 PM
Can someone tell me if the equivolume bars download exists,where it is located,and also if NT 7 has been released.

Thanks in advance.

klassej
02-04-2010, 01:22 AM
Laredo, I sent you a PM with some more detailed instructions. Here it is again though:
1. Put the file here: Documents\NinjaTrader 7\bin\Custom\Type
2. Open any existing indicator in the NinjaScript Editor (Tools->Edit NinjaScript->...)
3. Click the compile button
4. Restart ninja 7.
Now there should be a new entry in the chart type dropdown called CandleVol.
Set the bar width to 9 or 10 or else it will be too narrow.

Can someone tell me if the equivolume bars download exists,where it is located,and also if NT 7 has been released.

Thanks in advance.

laredo
02-06-2010, 10:28 AM
I need to do something to ninjatrader control center to get it to locate this script in 'my documents'. I have the program in 'My documents' on the computer But when I go to Utilites etc...it aint there?

whats the deal?

laredo
02-06-2010, 10:44 AM
1. I download attachment 9085 on this page to my computer
2.It appears in My Documents
3.I open up nintrader and select Utilites
4.I click on "import ninjascript" and look for the attachment
5.It does appear

?

laredo
02-06-2010, 10:45 AM
It Doesnt appear rather.Cant use it on charts from NT.

laredo
02-16-2010, 10:11 AM
Hello,

if anyone has been successful in installing the candlevolumebars script and has a moment,I am not able to sort through it.Its doesnt install in any way similar to other downloads I am using and I would sorely like to be usingit.
Thanks

Tarkus11
03-14-2010, 10:40 AM
I installed this for a friend and it looks good - except for the fact that a wide volume bar can obscure all or part of the width of a preceding bar, making the prior bar's actual width harder to discern. Increasing the space between bars doesn't help make it clearer.

laredo
03-14-2010, 12:22 PM
which download did you use?

ty

Tarkus11
03-15-2010, 06:18 AM
which download did you use?

ty

The .cs file in post 27

jackh
07-02-2010, 08:32 AM
I was able to use this indicator on previous Beta versions but can not use on Beta 18. When I go to compile I get error message saying that there are programimg errors. Did something change in Beta 18?

jackh
07-02-2010, 09:11 AM
I tried the unmodified version (without change to box style default) and this worked.

jjben
08-18-2010, 08:32 PM
I don't know how you create a new type, however I did manage to get it to override a chart type that I hardly ever use (the Box type). All you have to do is change this line:

public CandleVolStyle()
: base(ChartStyleType.CandleStick)

to this

public CandleVolStyle()
: base(ChartStyleType.Box)


It will then override the Box type instead of the standard CandleStick type, which will let you switch between normal and equivolume candles.
Try changing ChartStyleType.CandleStick to one of the Custom types. ie ChartStyleType.Custom0
ChartStyleType.Custom1,ChartStyleType.Custom2 etc. There are 10 customs 0-9.
It worked for me. Nice to have candlevolume on NT. Thanks all for the code.

JS999
08-19-2010, 12:02 PM
Try changing ChartStyleType.CandleStick to one of the Custom types. ie ChartStyleType.Custom0
ChartStyleType.Custom1,ChartStyleType.Custom2 etc. There are 10 customs 0-9.
It worked for me. Nice to have candlevolume on NT. Thanks all for the code.

Thanks for the tip... works nicely.