Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using/Calling OrderFlow+ Indicators into a NinjaScript strategy

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

    Using/Calling OrderFlow+ Indicators into a NinjaScript strategy

    Hi,

    Are there any guides or resources for learning how to call an OrderFlow+ Indicator such as delta for specific candles into a NinjaScript strategy?

    Any helpful information is much appreciated! Thank you!

    #2
    Hello rjm1903,

    The Order Flow + indicators and bar types require advanced code to call from a script.

    Unfortunately, because of this, these cannot be used in the Strategy Builder. To call these scripts from NinjaScript the strategy will need to be unlocked and coded by hand.

    The Order Flow Cumulative Delta, Order Flow Volumetric Bars, and Order Flow VWAP are able to be called from an unlocked script.

    Below are links to the help guide which provide sample code.
    https://ninjatrader.com/support/help...ive_delta2.htm
    https://ninjatrader.com/support/help...tric_bars2.htm
    https://ninjatrader.com/support/help...flow_vwap2.htm

    The Order Flow Market Depth Map, Order Flow Trade Detector, and Order Flow Volume Profile scripts are not supported to be called from an unlocked NinjaScript.​
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you for this information! Is there the ability to call a specific candle's current delta value within NinjaScript (similar to how you would call a specific candle's current volume)?

      Also, do you know if there ever will be the ability to call Order Flow Market Depth Map, Order Flow Trade Detector, and Order Flow Volume Profile within a NinjaScript unlocked strategy?

      Comment


        #4
        Hello rjm1903,

        The sample code in the help guide shows how to print the DeltaClose from the Order Flow Cumulative Delta. Is this not what you are trying to do?

        Unfortunately, I would not be able to provide any insight on future plans of the development team.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          The sample code shows how to pull Cumulative Delta but this is different from an individual candle's delta. The cumulative delta is the sum of all Delta during the session meanwhile Delta is the result for 1 candle. Is there any sample code on pulling the data for a single candle's Delta?

          Comment


            #6
            Hello rjm1903,

            When the Period is set to Bar the Delta is the bar. When the Period is set to Session the delta is the cumulative delta of the session.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            67 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            142 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            76 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            47 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            51 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X