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 MarianApalaghiei, Today, 10:49 PM
                  3 responses
                  9 views
                  0 likes
                  Last Post NinjaTrader_Manfred  
                  Started by XXtrader, Today, 11:30 PM
                  0 responses
                  3 views
                  0 likes
                  Last Post XXtrader  
                  Started by love2code2trade, Yesterday, 01:45 PM
                  4 responses
                  28 views
                  0 likes
                  Last Post love2code2trade  
                  Started by funk10101, Today, 09:43 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post funk10101  
                  Started by pkefal, 04-11-2024, 07:39 AM
                  11 responses
                  37 views
                  0 likes
                  Last Post jeronymite  
                  Working...
                  X