Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Have strategy get Market Analyzer Data

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

    Have strategy get Market Analyzer Data

    In my strategy I would like to read in a bit of data from a market analyzer.

    Like:
    Instrument A | 10.99 | 11.00


    Suppose there are two tab items for a certain Instrument that I am interested in, I would like to pull the data from the MA rather than re-do the math on my strategy. For example above the 10.99 might be a really complicated number, like for example what I think the instrument will be worth in 30 minutes.

    Is there a way to do this?

    #2
    ... and just for help, I am talking about C# code - is there a way to do it in code?

    Comment


      #3
      Hello Sparf,

      I'm not aware of any ways to pull data from a market analyzer window itself, however, likely you do not need to.

      What data are you looking for?

      Do you have an indicator in a Market Analyzer as a column?

      Do you have a Market Analyzer Column script loaded in a column?

      Are you using the Last data in a column?

      Price data is also supplied to indicators and strategies. And you can call indicators from a strategy..

      Below is a link to a forum post with helpful information about getting started with NinjaScript.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X