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 frankthearm, Today, 09:08 AM
                7 responses
                29 views
                0 likes
                Last Post NinjaTrader_Clayton  
                Started by NRITV, Today, 01:15 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by maybeimnotrader, Yesterday, 05:46 PM
                5 responses
                25 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by quantismo, Yesterday, 05:13 PM
                2 responses
                17 views
                0 likes
                Last Post quantismo  
                Started by adeelshahzad, Today, 03:54 AM
                5 responses
                33 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Working...
                X