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 yertle, Today, 08:38 AM
                6 responses
                24 views
                0 likes
                Last Post ryjoga
                by ryjoga
                 
                Started by algospoke, Yesterday, 06:40 PM
                2 responses
                24 views
                0 likes
                Last Post algospoke  
                Started by ghoul, Today, 06:02 PM
                3 responses
                15 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                46 views
                0 likes
                Last Post jeronymite  
                Started by Barry Milan, Yesterday, 10:35 PM
                7 responses
                23 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X