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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    50 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X