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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      114 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      161 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      82 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      126 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      80 views
      0 likes
      Last Post PaulMohn  
      Working...
      X