Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard, Double Parameter not working

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

    Strategy Wizard, Double Parameter not working

    I entered a relatively simple strategy using the strategy wizard. When I go to implement the strategy and all the default inputs come up, it shows my profit target and stop loss at 1 rather than the 9% and 5% I respectively set it at. When I change this number, it reverts back to 1. Thoughts on how to solve?

    #2
    When using CalculationMode.Percent, a value of 1 would be 100%.

    If you intend to have your stop/target at 9%, please use a value of 0.09
    MatthewNinjaTrader Product Management

    Comment


      #3
      I am using a variable "ProfitTarget" and "StopLoss" with the .09 and .05 values. I don't have a 1 entered for the calculationmode.

      Comment


        #4
        Hello,

        Thanks for the clarification - please double check your User Defined Inputs from the Strategy Wizard and ensure the Min. value is less than 1. Please try using a value of 0 here instead and it should accept an input of .09 or .05
        MatthewNinjaTrader Product Management

        Comment


          #5
          Got it... thank you.

          Comment


            #6
            I cannot get my strategy to draw the max when running my strategy nor the arrow I would like to see when an entry signal is taken. Can you take a look?

            I am looking for the max for the past 2 years or 504 days.
            Attached Files

            Comment


              #7
              Does it not draw at all? Or are you only seeing the most recent occurrence drawn?

              Are there any errors listed on the Log tab of the Control Center related to this strategy?
              MatthewNinjaTrader Product Management

              Comment


                #8
                I don't see anything at all... maybe I am missing something. I am very new to this platform and have next to no programming experience. I don't see the 2 year high line nor do I see the arrow that I designate to fire when my entry position fires as well.

                Comment


                  #9
                  Are you running this directly from the chart? Are you are setting 'Enabled' to 'True'?

                  Please review our Help Guide article on Running a NinjaScript Strategy from a Chart

                  MatthewNinjaTrader Product Management

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  576 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  334 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
                  553 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  551 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X