Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to add input to existing Script ?

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

    How to add input to existing Script ?

    I've read this topic: http://ninjatrader.com/support/forum...ead.php?t=5782

    however, I doubt there is not said, what to do the bottom "namespace" part...

    because, I see, that all initial inputs are listed in that bottom "namespace" code blocks i.e.


    Code:
    namespace NinjaTrader.NinjaScript.Strategies
    {
    	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
    	{
    		public Indicators.myindic1 myindic1(int bollinger_period, double bollinger_deviation, int rSI_period, double rSI_oversold, double rSI_overbought, int eMA_period, int cCI_period, double cCI_overbought)
    	     ................
    	}
    }
    so, when we manually add input (like described in above link), is that enough? and dont we need to add the new input in the namespace block?
    Last edited by ttodua; 03-16-2017, 01:07 PM.

    #2
    Wow, it seems that after pressing F5 (compile), program automatically adds everything in that region itself !

    Comment


      #3
      Hello Selnomeria,

      Thank you for your note.

      Ninjatrader automatically appends that to the bottom of the indicator to make the indicators properties work within the platform as it should.

      Please let us know if you need further assistance.
      Alan P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

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