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 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
    60 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