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

Adding parameters at a later stage...

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

    Adding parameters at a later stage...

    Hi All,

    Having set up an indicator under the wizard and programmed the calculation code, I'm wondering whether it is possible to add more 'parameters' at this stage...?

    i.e. under the Wizard I defined 2 inputs... However, I would actually like to have 3 inputs that I can optimize over at a later stage... Is it possible at this point to add a 3rd... If so, how...??

    Many Thanks

    #2
    Please inspect the generated code and manually add code lines following directions of the generated code.

    Comment


      #3
      When you say inspect generated code Dierk, do you mean within the section entitled "NinjaScript generated code. Neither change nor remove."...?

      Many Thanks

      Comment


        #4
        No you NEVER should touch that code region.

        Comment


          #5
          Sorry... I assume (upon looking further) that you mean within the "Properties" region...?

          Comment


            #6
            Right any code region which hold code referring to the generated properties apart from those which are marked as "don't touch".

            Comment


              #7
              Separate question Dierk (or anyone else at NT)...

              I have an indicator whose value is either 1, -1 or zero... Currently the chart autoscales such that when no values of either 1 or -1 are displayed it only shows the relevant portion of the line above or below zero.

              Is there a way of forcing it to chart from -1 to +1 regardless of the output so far of the indicator value....??

              Many Thanks

              Comment


                #8
                >> Is there a way of forcing it to chart from -1 to +1 regardless of the output so far of the indicator value....??
                Not that I'm aware of.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by smartromain, Today, 10:50 PM
                0 responses
                2 views
                0 likes
                Last Post smartromain  
                Started by popecapllc, 08-09-2023, 07:42 PM
                10 responses
                1,366 views
                0 likes
                Last Post BartMan
                by BartMan
                 
                Started by jbays87, Today, 09:46 PM
                0 responses
                6 views
                0 likes
                Last Post jbays87
                by jbays87
                 
                Started by ETFVoyageur, 04-30-2024, 02:04 PM
                11 responses
                101 views
                0 likes
                Last Post ETFVoyageur  
                Started by bubblegum, 03-18-2024, 10:41 AM
                3 responses
                48 views
                0 likes
                Last Post vjsworld  
                Working...
                X