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 Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
    55 responses
    5,455 views
    0 likes
    Last Post BartMan
    by BartMan
     
    Started by DawnTreader, 05-08-2024, 05:58 PM
    16 responses
    52 views
    0 likes
    Last Post DawnTreader  
    Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
    15 responses
    61 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kevinenergy, Yesterday, 12:01 PM
    8 responses
    28 views
    0 likes
    Last Post kevinenergy  
    Started by nightstalker, Today, 01:32 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Working...
    X