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 > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 03-10-2011, 01:44 AM   #1
murthymsr
Member
 
Join Date: May 2010
Location: India
Posts: 92
Thanks: 1
Thanked 0 times in 0 posts
Default Projected Volume ratio in Market Analyser

Hi,
In Market Analyzer, I want to get a column to indicate the projected volume ratio.

volRatio= Volume[0]/(Bars.PercentComplete*Volume[1]);


does appears to be giving meaningful values at end of day only & not before completion of the daily bar.

Data series period = 1 day & Calculate on bar close = false

Any help please?

Regards.
murthymsr
murthymsr is offline  
Reply With Quote
Old 03-10-2011, 05:28 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

murthymsr, what dafafeed provider are you using here in testing this?

Thanks,
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-10-2011, 10:17 AM   #3
murthymsr
Member
 
Join Date: May 2010
Location: India
Posts: 92
Thanks: 1
Thanked 0 times in 0 posts
Default

For testing this indicator, I used external data feed.

However, I will recheck my calculations, code and revert.

Thanks.
murthymsr
Last edited by murthymsr; 03-10-2011 at 10:49 AM.
murthymsr 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
Paint bar and Volume ratio indicators? PKFFW Charting 8 06-19-2011 12:49 AM
Market Analyser DangerBoy Market Analyzer 3 06-24-2009 05:22 AM
Market Analyser DangerBoy Market Analyzer 4 06-02-2009 02:24 PM
bid ask volume ratio zq655 Charting 11 06-19-2008 07:34 AM
Volume Ratio warrior NinjaScript File Sharing Discussion 6 02-04-2008 10:54 PM


All times are GMT -6. The time now is 01:27 AM.