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

Accessing Order Flow Info

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

    Accessing Order Flow Info

    Hi guys,

    I’m interested in accessing the Delta (%) values that are found in the table at the bottom of the Order Flow Charts. I want to use these values in my script for further processing.

    Do I need to add a DataSeries? Also what is the correct way to access the individual Delta (%) values?

    Thanks!

    #2
    Hello Bluebeep,

    Thanks for your post.

    I think by Order flow charts you are referring to Volumetric Bars that include the statistics section at the bottom of the chart.

    Here is a link to the help guide of Volumetric bars Ninjascript: https://ninjatrader.com/support/help...tric_bars2.htm

    The help guide example shows how to access the various data available and provides advice on how to add Volumetric bars if your chart does not use volumetric bars.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thanks! If I share my script with another person will they require a Lifetime License to be able to run it correctly?

      I believe Order Flow (and possibly this Volumetric Data) doesn’t work unless you have a Lifetime License.

      Along the same lines, for Backtesting, if I use the free version of NinjaTrader will this Volumetric Data get pulled into the script for processing?

      Comment


        #4
        Hello Bluebeep,

        Thanks for your reply.

        To access the order flow indicators including the volumetric bars either on the chart or through Ninjascript access would require the platform have a lifetime license key installed. In the case of Ninjascript access, when accessed on a non lifetime licenced platform, it will generate a pop-up message to upgrade license and place a red message in the "log" tab of the control center to upgrade.

        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Hi Paul,

          That makes sense, however is there a way for me to calculate the Delta (%), i.e. GetDeltaPercent() without needing Volumetric Bars? I do have a Lifetime License but would still like to know if there is a formula/calculation based on say MarketData that I can use.

          Comment


            #6
            Hello Bluebeep,

            Thanks for your reply.

            The definition of the % delta from the help guide on volumetric is: Delta (%) The bar delta expressed as percentage of volume for the bar.

            So you would need the Volume of the bar (you could use VOL for example) as one input. For the bar delta, you can use the free indicator BuySellStrength which plots the difference between buy and sell volume. If you add the indicator to the same chart as the volumetric bars you will see that the plot values line up with the Delta(bar) so you have a way to test this out.

            Please note that the BuySellStrength would be considered a real-time only indicator meaning you will only get values with live (or replay) data. If you have historical tick data, then another option will be to turn on Tick Replay to see historical BuySellStrength.

            Link to the BuySellStrength indicator: https://ninjatraderecosystem.com/use...ellstrength-2/
            Note: The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Thanks Paul. I'll dive into it.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by FrazMann, Today, 11:21 AM
              0 responses
              2 views
              0 likes
              Last Post FrazMann  
              Started by geddyisodin, Yesterday, 05:20 AM
              8 responses
              51 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by cmtjoancolmenero, Yesterday, 03:58 PM
              10 responses
              36 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by DayTradingDEMON, Today, 09:28 AM
              4 responses
              24 views
              0 likes
              Last Post DayTradingDEMON  
              Started by George21, Today, 10:07 AM
              1 response
              19 views
              0 likes
              Last Post NinjaTrader_ChristopherJ  
              Working...
              X