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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      67 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      36 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      59 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X