Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get data from OrderFlow Chart Indicator

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

    How to get data from OrderFlow Chart Indicator

    Hello everyone! I am using 3d party OrderFlow Chart indicator for my automated strategy and i wonder if anyone knows how to get certain data from the indicator and save it to a variable. Thank you.

    #2
    Hello Sharkomax,

    Thank you for your inquiry and welcome to the NinjaTrader Support forum!

    To answer your question:

    To obtain data from an indicator in a strategy, you will want to call that indicator. Here's an example to assign a variable to the current value of a 40 period SMA:
    Code:
    private double indicatorValue;
    
    protected override void OnBarUpdate()
    {
         indicatorValue = SMA(40)[0];
    }
    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ZacharyG View Post
      Hello Sharkomax,

      Thank you for your inquiry and welcome to the NinjaTrader Support forum!

      To answer your question:

      To obtain data from an indicator in a strategy, you will want to call that indicator. Here's an example to assign a variable to the current value of a 40 period SMA:
      Code:
      private double indicatorValue;
      
      protected override void OnBarUpdate()
      {
           indicatorValue = SMA(40)[0];
      }
      Please, let us know if we may be of further assistance.
      How do i know what is the name of the 3rd party indicator which didnt come with standart NinjaTrader indicators?

      Comment


        #4
        Hello Sharkomax,

        Please open a chart and open the Indicators window by right-clicking on the chart and selecting Indicators.

        The indicator name you will use for your third party indicator will be listed here.

        Please, let us know if we may be of further assistance.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by Sharkomax View Post
          Hello everyone! I am using 3d party OrderFlow Chart indicator for my automated strategy and i wonder if anyone knows how to get certain data from the indicator and save it to a variable. Thank you.

          SOLVED!


          Adding a Reference - You will now be able to access the indicator methods provided by the 3rd party vendor

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X