Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Re-Entry after Stop-Loss

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

    Re-Entry after Stop-Loss

    Hey Guys,

    I have created a strategy with the strategy wizard. It identifies both short and long signals and enters accordingly into positions.

    I have a problem with the Stop Loss function. Once the Stop Loss level is triggered, the system closes out the position (which is the desired outcome). However, as long as the signal is valid, a re-entry is triggered (not desired!).
    On the other hand, I don't want to prevent the system from reentering the same side (which means I want it to accept a long position following a long position that is closed out regularly i.e. without Stop-Loss.)

    Can anyone help me with this problem? I have attached a picture of one of the situations. After the StopLoss I want the system to prevent the reentry during the same signal (which is given here).

    Thank u!!
    Attached Files

    #2
    However, as long as the signal is valid, a re-entry is triggered (not desired!).
    You should set a boolean to TRUE if there was an entry on the signal, and only allow an entry when that boolean is FALSE. On a new signal reset the boolean to FALSE.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    62 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