NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 11-23-2008, 06:53 PM   #1
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Smile Volume by price indicator

Hello.

I need an indicator, which can show all volumes by every prices, like this:



Can anybody help me whith it?

Can it be programmed fo NT?

I need volumes per current and (or) previous sessions.

Or i would glad to see something like that:



(i mean total volume + prices for it)
alexmaster is offline  
Reply With Quote
Old 11-23-2008, 09:24 PM   #2
tick bandit
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Default

This is Josh's CalculateValueArea or have a look at the Volume Profile indicator.

http://www.ninjatrader-support2.com/...5&d=1211394854
tick bandit is offline  
Reply With Quote
Old 11-24-2008, 07:58 AM   #3
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Default

Thanks a lot!

But can You help me with instructions for it?

What are the volumes, shown on the chart? Is it current session, or volumes of the current chart window?

And what does the blue shadow means?
alexmaster is offline  
Reply With Quote
Old 11-24-2008, 08:05 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Just to clarify, this is not my indicator. This is a 3rd party indicator created by Ben who goes by the username sbgtrading. Indicator interpretation questions should be directed to the original author.
NinjaTrader_Josh is offline  
Reply With Quote
Old 11-24-2008, 03:40 PM   #5
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello Alex,

I'm not sure what the indicator on that screenshot is showing...do you have any documentation from Open E Cry? That looks to be their platform, correct?

Thanks,
Ben
sbgtrading is offline  
Reply With Quote
Old 12-01-2008, 02:06 PM   #6
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Default

sbgtrading, won't You?
alexmaster is offline  
Reply With Quote
Old 11-27-2008, 01:13 AM   #7
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Default

sad..

Ok, sbgtrading, will You explain me the work of Your inicator. Is it based on volumes?
alexmaster is offline  
Reply With Quote
Old 12-01-2008, 07:16 PM   #8
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

Quote:
Originally Posted by alexmaster View Post
Ok, sbgtrading, will You explain me the work of Your inicator. Is it based on volumes?
Hi Alex...pardon my delay in responding...let me know if the information below helps regarding the CalculateValueAreaHisto:

Yes, the histogram does show volume at price when the user selects VOC or VWTPO (see the descriptions of the profile types below). Volume is disregarded when the user selects TPO.


1) VOC - This method loads all the volume of a bar onto the closing price of that bar.
e.g. A 5-minute bar has a volume of 280 and a range of 1.5 points with a close at 1534.25, then all 280 hits of volume are loaded onto the 1534.25 closing price.
2) TPO - This method disregards volume altogether, and gives a single hit to each price in the range of the bar.
e.g. A 5-minute bar has a range of 1.5 points with a High at 1534 and a Low at 1532.5, then 1 contract (or "hit") is loaded to the seven prices in that range: 1532.50, 1532.75, 1533.0, 1533.25, 1533.50, 1533.75, and 1534
3) VWTPO - This method distributes the volume of a bar over the price range of the bar.
e.g. A 5-minute bar has a volume of 280 and a range of 1.5 points with a High at 1534 and a Low at 1532.5, then 40 contracts (=280/7) are loaded to each of the seven prices in that range: 1532.50, 1532.75, 1533.0, 1533.25, 1533.50, 1533.75, and 1534

The blue shaded area that's generally in the center of the histogram is the "Value Area". It shows where a certain (large) percentage of the histogram data can be found and is based on the Value Area that is typical of Market Profile type indicators and formula.

Let me know if you have any questions! Again, thanks for your patience.
Ben
sbgtrading is offline  
Reply With Quote
Old 06-06-2010, 03:38 AM   #9
danieljsalas
Junior Member
 
Join Date: Sep 2008
Posts: 21
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi sbg is there a way to use 1-tick data for more accuracy on this indicator, ??? let me know please

thanks

daniel
danieljsalas is offline  
Reply With Quote
Old 06-06-2010, 10:47 AM   #10
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello Daniel,

Yes, I believe so...it would be a multi-timeframe indicator, which means it would only run in NT 7.0.

I will be willing to pursue this development once NT 7.0 becomes a more stable release.
sbgtrading is offline  
Reply With Quote
Old 11-24-2008, 04:38 PM   #11
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Default

Yeah, certainly, it was a screenshoot from their platform. So i want to see something like this anywhere else, i.e. NT 6.5. I have a documentation for it, but don't think it can be usefull.
alexmaster is offline  
Reply With Quote
Old 11-24-2008, 07:17 PM   #12
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

All I need is a description of how the histogram is being calculated...then we can see if NT has anything like it already, or if we'd have to create something new.
sbgtrading is offline  
Reply With Quote
Old 11-25-2008, 04:53 AM   #13
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Default

Oh, it is not difficult. It calculates all volumes by each price during the trading session.

Quote:
The histogram graphically offers the ability to determine price levels of both support and resistance. Easily enabled or disabled by clicking the button in the DOM toolbar. Then customize to meet your unique requirements and style.
It was taken from http://www.openecry.com/software/sof...lights_DOM.cfm. OEC instruction manual have nothing about it.
alexmaster is offline  
Reply With Quote
Old 11-25-2008, 06:08 AM   #14
sbgtrading
Certified NinjaScript Consultant
 
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
Default

That's great news! I believe this matches "VolumeZones" which is a free indicator that comes with each NinjaTrader platform. Remember, though, that it is a "real-time" indicator only, it does not currently have the ability to review historical volume data.
sbgtrading is offline  
Reply With Quote
Old 11-25-2008, 10:12 AM   #15
alexmaster
Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Send a message via ICQ to alexmaster Send a message via Skype™ to alexmaster
Default

Yes, but i don't need real-time only, i want volumes from the past.
alexmaster 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
Calculate Value Area of volume at price sbgtrading NinjaScript File Sharing Discussion 159 04-19-2011 05:13 AM
Cumulative Volume @ Each Price fadertrader SuperDOM and other Order Entry Windows 37 07-09-2010 06:48 PM
Volume at price histogram? higler Charting 9 06-02-2010 12:10 PM
Volume right on the price chart? 5iver Charting 1 11-10-2008 08:15 AM
Change volume bar color based on price and volume range TiP2012 Indicator Development 5 05-26-2008 08:09 AM


All times are GMT -6. The time now is 10:57 AM.