Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 AaronKoRn, Today, 09:49 PM
      0 responses
      2 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Today, 08:42 PM
      0 responses
      8 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Today, 07:51 PM
      0 responses
      9 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,975 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Today, 06:48 PM
      0 responses
      9 views
      0 likes
      Last Post rbeckmann05  
      Working...
      X