Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

help with trailing stop

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

    help with trailing stop

    Hi guys, i tried so many combinations but cant get trailing stop to work. I am using the ninja gui to do my strategy and have not messed with the code itself.

    1) My strategy will call the EnterLong() or EnterShort() for executing an entry order if certain conditions are met, this works good.

    2) All i want is for the script to also place a normal trailing stop order at the same time, so if the position drops by 5% or more from its high since entry, it will automatically sell the position at market.

    What are the steps to do is? i tried using the stop and targets screen, but it just buy and sell at the same bar all the time.

    thank you.
    Last edited by newguy05; 02-04-2008, 11:39 PM.

    #2
    You would do it in the page you have already been trying to do it in. You would choose Trailing Stop -> Percent -> and put in 0.05 for 5%.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      AHHH! thank you! I was keep trying to put 5 and -5 instead of 0.05

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      630 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      364 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      566 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      568 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X