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 File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 01-29-2008, 06:41 PM   #1
warrior
Member
 
Join Date: Sep 2007
Posts: 33
Thanks: 0
Thanked 0 times in 0 posts
Default Volume Ratio

Hi, is there "Volume Ratio" indicator available for NT? TradeStation has it and it is plotted as an oscillator with a zero line in the middle. I know NT has BuySellPressure and BuySellVolume but Volume Ratio is likely computer differently than either one of these. thanks.
warrior is offline  
Reply With Quote
Old 01-29-2008, 07:15 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

I don't know what that indicator's logic is so the only answer is that I don't know. If you believe that the BuySell indicators are not the same then its unlikely that we have that indicator.
NinjaTrader_Ray is offline  
Reply With Quote
Old 01-29-2008, 07:18 PM   #3
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Hmm .. I suggest taking a look at the few Volume... indicators we have.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 01-29-2008, 10:21 PM   #4
warrior
Member
 
Join Date: Sep 2007
Posts: 33
Thanks: 0
Thanked 0 times in 0 posts
Default

Here is more info on this indicator. Will it be possible to add it to NT?

Input Information

AvgLength Numeric 14
Factor used in calculating the Volume Oscillator.

UpVolAlertPct Numeric 5
Value at which the alert for "Up" ticks is triggered.

DnVolAlertPct Numeric -5
Value at which the alert for "Down" ticks is triggered.

ColorNormLength Numeric 14
Number of bars over which to normalize the indicator for gradient coloring.

UpColor Numeric Yellow
Color to use for indicator values that are relatively high over ColorNormLength bars. Set to -1 to disable gradient color plotting.

DnColor Numeric Cyan
Color to use for indicator values that are relatively low over ColorNormLength bars.
Set to -1 to disable gradient color plotting.

The Volume Ratio indicator calculates an exponential moving average of the ratio between up and down volume. The exponential average is then plotted as an oscillator around a zero line.
Volume can provide insight into the strength or weakness of a price trend. This indicator plots positive values above the zero line, and negative below. A positive value suggests there is enough market support to continue to drive price activity in the direction of the current trend. A negative value suggests there is a lack of support and prices may begin to become stagnant or reverse.
Plot Information
Number
Name
Default Color
Description

Plot1
VolRatioAvg
Yellow/Cyan
Plots the Volume Ratio value.

Plot2
ZeroLine
Dark Green
Plots a reference line at zero.

When applied to a chart, this indicator contains two plots, displayed in a separate subgraph from the price data.
Set either UpColor and/or DnColor to -1 to disable gradient plot coloring. When disabled, Plot1 color is determined by settings in indicator properties dialog box. Plot2 (ZeroLine) color always comes from indicator properties dialog box.
Note This indicator only returns significant results when applied to bars with a time interval of tick or intraday.
warrior is offline  
Reply With Quote
Old 01-30-2008, 04:22 AM   #5
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

May be the community could contribute?
NinjaTrader_Dierk is offline  
Reply With Quote
Old 02-04-2008, 06:37 PM   #6
warrior
Member
 
Join Date: Sep 2007
Posts: 33
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks Dierk. Since no takers yet, will appreciate if you can consider this as a built-in indicator for Ninja given its popularity with TS.
warrior is offline  
Reply With Quote
Old 02-04-2008, 10:54 PM   #7
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks for your suggestion. We'll add it to the list of future considerations.
NinjaTrader_Dierk 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
Kaufman's Efficiency Ratio Learning1 Indicator Development 3 08-17-2007 09:42 AM
Kaufman's Efficiency Ratio NinjaTrader_Ray NinjaScript File Sharing Discussion 0 08-17-2007 09:41 AM
K Efficiency Ratio Learning1 Indicator Development 1 08-01-2007 01:51 PM
Historical Volatility Ratio simul316 Indicator Development 0 06-23-2007 06:57 PM
Sortino Ratio Shiva Swinger Suggestions And Feedback 2 12-14-2005 11:09 PM


All times are GMT -6. The time now is 08:52 AM.