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 habeebft, Today, 07:27 AM
                1 response
                11 views
                0 likes
                Last Post NinjaTrader_ChristopherS  
                Started by AveryFlynn, Today, 04:57 AM
                1 response
                12 views
                0 likes
                Last Post NinjaTrader_Erick  
                Started by Max238, Today, 01:28 AM
                4 responses
                37 views
                0 likes
                Last Post Max238
                by Max238
                 
                Started by r68cervera, Today, 05:29 AM
                1 response
                10 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by geddyisodin, Today, 05:20 AM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Working...
                X