NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 12-16-2007, 06:11 PM   #1
Pr0crast
Junior Member
 
Join Date: Dec 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default multicolor volume bars and volume bar projections... possible or not?

1. Multicolor volume bars (i.e. black if the price bar closes up, red if the price bar closes down, purple for no chg)

2. Volume projections (5 minute bar, 2.5 minutes in = 10,000 contracts, show a shadow behind the current bar of 20,000 contracts)

Possible or not in Ninja?

I can do this in basically every other charting platform except Ninja. I'd really like to get this working in Ninja so I can consolidate to one platform. Currently I have to use Ninja/zenfire for order entry/DOM and another prog (ensign or quotetracker or tradestation or neoticker...) with IQfeed for charting, since zenfire is too proprietary to be compatible with other programs

TIA
Pr0crast is offline  
Reply With Quote
Old 12-16-2007, 06:44 PM   #2
Pr0crast
Junior Member
 
Join Date: Dec 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

update: i figured out the volume color thing: http://www.ninjatrader-support.com/v...ead.php?t=3750

now just for the projected volume thing and i'll be set...
Pr0crast is offline  
Reply With Quote
Old 12-16-2007, 07:23 PM   #3
KBJ
Senior Member
 
Join Date: Mar 2007
Location: , Florida, USA
Posts: 663
Thanks: 36
Thanked 7 times in 6 posts
Default

For 1) see Volume Bars color-coded according to Price change.
For 2) can you post a screen shot showing what you mean?
KBJ is offline  
Reply With Quote
Old 12-16-2007, 10:00 PM   #4
Pr0crast
Junior Member
 
Join Date: Dec 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

Certainly... Here is an example snipped from Quotetracker.



In the picture the current 5 minute bar is only half over, and the solid black volume represents actual trades while the cross-hatched area represents the projection for how many trades will occur by the close of the bar.
Last edited by Pr0crast; 12-16-2007 at 10:02 PM.
Pr0crast is offline  
Reply With Quote
Old 12-17-2007, 07:16 AM   #5
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

On issue 2...

Yes this is possible since virtually anything is possible with NinjaScript C# etc... The approach you would need to do is have a multi-plot indicator where one of the plots represents the projected volume. Out of the box you can not do hatch mark based plots but you could assign it a different color. Check out the code for the system BuySellVolume indicator to get an idea on how you would need to manage multiple plots.
NinjaTrader_Ray is offline  
Reply With Quote
Old 12-25-2007, 12:37 PM   #6
Lost Trader
Senior Member
 
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
Default PRV - however...

Here is a stab at the Volume with colored bars & PRV. It even appears to work during Market replay (very important for me). The PRV is plotted first, as we want it underneath the Volume. However, if
PaintPriceMarkers = true; then the PRV number is on TOP of the Volume number -- this is bad. Seems illogical that it would be opposite of the plots themselves.

Can PaintPriceMarkers and DisplayInDataBox be enabled/disabled individually for specific variables?
Attached Images
File Type: png PRV sample.PNG (36.1 KB, 106 views)
Attached Files
File Type: zip VolumePRV.zip (2.1 KB, 41 views)
Lost Trader is offline  
Reply With Quote
Old 12-25-2007, 03:24 PM   #7
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

Quote:
Originally Posted by Lost Trader View Post
Can PaintPriceMarkers and DisplayInDataBox be enabled/disabled individually for specific variables?
Unfortunately not.
NinjaTrader_Ray is offline  
Reply With Quote
Old 12-25-2007, 03:32 PM   #8
Lost Trader
Senior Member
 
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
Default

Quote:
Originally Posted by NinjaTrader_Ray View Post
Unfortunately not.
OK, I understand. In that case, I have to request that price display be in the same order as the plot display and not reversed, please. I'd call that a bug.

Explicitly, in this example, since Volume is plotted on TOP of PRV, then the Price marker for Volume should be on TOP of the PRV price marker...

Thanks!!
(and Merry Christmas!!)
Lost Trader is offline  
Reply With Quote
Old 12-25-2007, 06:36 PM   #9
Pr0crast
Junior Member
 
Join Date: Dec 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Lost Trader,

Nice work! Looking forward to using this in the new year.

Merry xmas,
Pr0crast
Pr0crast is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color Volume Bars Indicator (Download) Version 5 Only awuit Indicator Development 3 11-29-2007 04:25 PM
Volume Bars Greater than 40000 vivimos Historical NinjaTrader 6.5 Beta Threads 7 11-09-2007 04:01 PM
Some Range Bars have zero volume scjohn Historical NinjaTrader 6.5 Beta Threads 5 11-09-2007 09:31 AM
Calculating Time in Volume Bars RedDuke Indicator Development 4 10-19-2007 07:33 AM
Volume Bars appear to be built incorrectly pbastowski Charting 4 09-17-2007 08:34 AM


All times are GMT -6. The time now is 06:37 AM.