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