NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 08-06-2007, 10:08 AM   #1
Learning1
Member
 
Join Date: Jul 2007
Location: Calgary
Posts: 76
Thanks: 0
Thanked 0 times in 0 posts
Default Clarification of GetCurrentAskVolume() Method

Hi There,

Is there currently a shared data method that returns the Cumulative Volume of Bid/Ask from the Dome? I am guessing that the GetCurrentAskVolume() Method only returns the present level1 Ask volume. Is this the case?

Thanks,
Learning1 is offline  
Reply With Quote
Old 08-06-2007, 10:22 AM   #2
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

This is not currently supported.
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-06-2007, 10:28 AM   #3
Learning1
Member
 
Join Date: Jul 2007
Location: Calgary
Posts: 76
Thanks: 0
Thanked 0 times in 0 posts
Default

Is this capability on a list for future enhancements?
Learning1 is offline  
Reply With Quote
Old 08-06-2007, 11:14 AM   #4
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

We will add it.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 08-06-2007, 11:16 AM   #5
Learning1
Member
 
Join Date: Jul 2007
Location: Calgary
Posts: 76
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks,

It would be helpful. Is this a Fall release sort of enhancement or 2008?
Learning1 is offline  
Reply With Quote
Old 08-06-2007, 11:18 AM   #6
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

Unfortunately there is no ETA yet.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 08-06-2007, 11:57 AM   #7
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

I made a real quick indicator that will add the bid/ask prices up for you and plot them like volume bars. Of course the indicator won't have proper cumulative bid/ask volumes for historical bars so I made it not plot in that case.

If you want to access the value in other indicators do something like this:
Code:
CumulativeCurrentVolume(Input).VolType = CumulativeVolume.Bid;
Print(CumulativeCurrentVolume(Input)[0]);
You can choose between Bid/Ask/Last.

I haven't really tested this much so give it a try and see if thats what you wanted.
Attached Files
File Type: zip CumulativeCurrentVolume.zip (1.6 KB, 98 views)
NinjaTrader_Josh is offline  
Reply With Quote
Old 08-06-2007, 11:59 AM   #8
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 contribution. The community will appreciate.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 08-14-2007, 01:56 PM   #9
Learning1
Member
 
Join Date: Jul 2007
Location: Calgary
Posts: 76
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks tons for coding this (Sorry for my tardy response - I've been away for a week and a bit). Access to the Cum Bid / Ask Volume is just what I was looking for. I appreciate your help.

Thanks also for you involvement in creating the TRO indicators. I am in the midst of exporing them and they seem promising.

With Gratitude,

Learning1
Learning1 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
BreakEven Method MrBaffalo Strategy Development 2 04-16-2007 01:32 AM
Clarification On v5.x6 DOM Options al_gorithm Miscellaneous Support 10 01-01-2006 07:03 AM
New installation method guy Installation and Licensing 4 12-29-2005 10:50 AM
Clarification of TT Fees al_gorithm Miscellaneous Support 8 12-29-2005 01:18 AM
Clarification on Order State Definitions aspTrader Automated Trading 1 11-28-2005 05:14 AM


All times are GMT -6. The time now is 12:46 AM.