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 algospoke, Yesterday, 06:40 PM
      2 responses
      22 views
      0 likes
      Last Post algospoke  
      Started by ghoul, Today, 06:02 PM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jeronymite, 04-12-2024, 04:26 PM
      3 responses
      45 views
      0 likes
      Last Post jeronymite  
      Started by Barry Milan, Yesterday, 10:35 PM
      7 responses
      21 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      181 views
      0 likes
      Last Post jeronymite  
      Working...
      X