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

Question BuySellStrength Indicator...

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

    Question BuySellStrength Indicator...

    In the Indicators area...looking at the BuySellStrength indicator... looking at the Ninjascript....the bidvol and askvol therein...do those represent the actual trade volume at each tick ?

    Thanks

    #2
    Hello Alfred,

    int bidvol = GetCurrentBidVolume();
    int askvol = GetCurrentAskVolume();

    This represents the current volume for the best bid and best ask.


    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      In an indicator...how does one get the actual buy & sell trade volume as shown in the time and sales window ??

      Thanks
      Last edited by Alfred; 12-23-2010, 08:49 AM.

      Comment


        #4
        Hello Alfred,

        You can work with OnMarketData() to capture the stream of level I data.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          OnMarketData backfill

          Will this backfill if I lose my connection for a few seconds?

          Thank you.

          Comment


            #6
            Originally posted by DudaoRJ View Post
            Will this backfill if I lose my connection for a few seconds?

            Thank you.
            Hello DudaoRJ,

            Thank you for your post.

            This would not backfill as OnMarketData() and GetCurrentBidVolume() and GetCurrentAskVolume() are real-time only.

            Please let me know if you have any questions.

            Comment


              #7
              Thank you for your reply. Is the backfill available in NT8 in some way? I'd need historical bid/ask best levels to compare them with tick prices. But I need it to backfill. Thank you.

              Comment


                #8
                Hello DudaoRJ,

                Thank you for your response.

                NinjaTrader 8 has the option to use Tick Replay which will trigger last events in OnMarketData. You can use this to backfill objects that generally use the real-time updates.

                You can find documentation on developing for Tick Replay and using Tick Replay at the following links:

                Please let me know if you have any questions.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ageeholdings, Today, 07:43 AM
                0 responses
                7 views
                0 likes
                Last Post ageeholdings  
                Started by pibrew, Today, 06:37 AM
                0 responses
                4 views
                0 likes
                Last Post pibrew
                by pibrew
                 
                Started by rbeckmann05, Yesterday, 06:48 PM
                1 response
                14 views
                0 likes
                Last Post bltdavid  
                Started by llanqui, Today, 03:53 AM
                0 responses
                6 views
                0 likes
                Last Post llanqui
                by llanqui
                 
                Started by burtoninlondon, Today, 12:38 AM
                0 responses
                12 views
                0 likes
                Last Post burtoninlondon  
                Working...
                X