Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access visible Indicator parameters from Strategy

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

    Access visible Indicator parameters from Strategy

    Is there a way to access the parameters of a visible indicator from a running strategy in real time? What I mean is if SMA period is changed, the strategy could pickup the period value from the visible SMA?

    #2
    Hello afshinmoshrefi,

    There would be not native way of getting an indicators values that is not called within the Strategy itself.

    You may want to add a user defined parameter inside your strategy and plot the values of the indicator based upon the dynamic period parameter that you defined so that you can have the plots shown on your chart and still be able to access the value of the period.

    The following thread gives an example of how to plot within a Strategy that you may view.
    When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the ability


    Let us know if we can be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    646 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    367 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X