Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Negative parameter (Input) in Strategy Builder

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

    Negative parameter (Input) in Strategy Builder

    Hello. I am creating strategy, and want to use a negative input (later a parameter) as a condition to enter a short trade. For example: Price Oscilator. A condition that I want to create es that it only enters short trades, when de price oscilator is -5 or less. Therefore I woul like to create an Input, like "ShortPriceOscilatorTreshhold", and give it a Value of -5. Then create the condition that it enters a Short trade when the price oscilator is less than "ShortPriceOscilatorTreshhold", in this case -5, or any other negative number that I want to use. Nevertheless, NT8 strategy builder does not let me use a negative input. What can I do?

    #2
    Hello HUAICA,

    The Strategy Builder does allow you to use negative values for inputs as long as you have set the Min to the smallest value you are willing to accept.

    When you added the input, what did you set as the Min?


    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      The min I am willling to accept is -20. So Ican use double, and in the Min I will put -20. Ok, thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      38 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      124 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      64 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X