Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How put indicator for my strategy?

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

    How put indicator for my strategy?

    Hi
    I make strategy with NT8 builder , I want the same indicator included in the strategy , with enable and disable option in the strategy menu for view in chart , how I can do that?

    Ren.
    Last edited by voltlon; 08-14-2019, 09:25 AM.

    #2
    Hello voltlon,

    Unfortunately, it would not be possible with the Strategy Builder to make an indicator optional.

    In the Conditions builder window, any indicator that is selected will have a Plot on chart checkbox. If this is checked, that indicator will automatically be added to the chart (using AddChartIndicator) when the strategy is enabled.

    The Strategy Builder 301 course discusses this.


    If you were to unlock the script, you could create a bool public property and require this to be true for the AddChartIndicator() call to run in State.DataLoaded.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank Chelsea B.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      46 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      31 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
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X