Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

System parameters.

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

    System parameters.

    Hi,

    I need to make a system that has more than 8 parameters.

    The problem is that I can add these variables from C # but once I compile the system, I can not use these variables to change my system. (I can only use these variables within the code).

    Is there a site that explains how I can make a system with more than 8 parameters?.

    Thank you very much for your help.


    #2
    Davizito, thanks for the post - for more than 8 user defined input parameters you would unfortunately need to work in the full NinjaScript editor then.

    Comment


      #3
      Hi Bertrand,

      Thanks for your response.

      Yes, yes, I know it.

      I add for example in #region Variables

      private int tenImput = 1;

      Once I have this variable added. How do I set this variable?

      Thanks a lot for your help

      Comment


        #4
        You need to add respective lines into the Properties region of the code too. Please take a look at SampleMACrossOver and see how they do it for Fast and Slow.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks a lot for your help

          Problem solved!

          Comment

          Latest Posts

          Collapse

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