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 helpwanted, Today, 03:06 AM
      1 response
      12 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      9 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      387 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X