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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    52 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    142 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X