Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Clarification of GetCurrentAskVolume() Method

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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,

    #2
    This is not currently supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      Is this capability on a list for future enhancements?

      Comment


        #4
        We will add it.

        Comment


          #5
          Thanks,

          It would be helpful. Is this a Fall release sort of enhancement or 2008?

          Comment


            #6
            Unfortunately there is no ETA yet.

            Comment


              #7
              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
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                Thanks for your contribution. The community will appreciate.

                Comment


                  #9
                  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

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Mongo, Yesterday, 11:05 AM
                  6 responses
                  27 views
                  0 likes
                  Last Post Mongo
                  by Mongo
                   
                  Started by ct, 05-07-2023, 12:31 PM
                  7 responses
                  206 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by wzgy0920, Yesterday, 09:53 PM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Started by Rapine Heihei, Yesterday, 07:51 PM
                  1 response
                  12 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by kaywai, Today, 06:26 AM
                  1 response
                  6 views
                  0 likes
                  Last Post kaywai
                  by kaywai
                   
                  Working...
                  X