Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop Loss Not Working

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

    Stop Loss Not Working

    I've had issues with getting the stop loss function to work.

    The script should place an immediate stop loss order after the purchase of 2%.for market hours only on the first day not sure why it's not working now. This is for both long and short trades. Also should be adjustable.

    Any help should be appreciated!
    Attached Files

    #2
    Thanks for the post, to make the stop loss value user adjustable you would need to include it as user input in your script, a sample approach to do so would be shown here in our tip - http://www.ninjatrader.com/support/f...ead.php?t=5782

    For the stop loss triggering issues, please further debug this with the use of the TraceOrders feature, which will help you seeing the order sequence internally for your script exactly -



    You also want to make sure any percent value is entered correctly, so 0.02 would be 2 percent and not for example 2.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    656 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    371 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X