Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trail Stops on strategy builder

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

    Trail Stops on strategy builder

    I want to add Trail Stop orders to my Strategy while using the Strategy Builder.

    I want to have inputs parameters to optimise later on.

    But when I try to build the input parameter as a Int Value I'm not allowed to use decimal numbers. It is my understanding that the Percentage field on the Trailing Stop order would consider 1=100%.

    Unless I have to use Double vale and there I can use decimals

    Am I doing something wrong?
    Last edited by percma; 12-05-2017, 09:50 AM.

    #2
    Hello percma,

    An Int is short for Integer which is any whole number. Integers cannot have decimals.

    A double is a number with a decimal.

    Below are publicly available links to a 3rd party educational site that discusses int and double.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Ah! understood. thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      67 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      149 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      99 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      286 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X