Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to wait one day (1,440 minute bars) from a stop loss?

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

    How to wait one day (1,440 minute bars) from a stop loss?

    Hello NinjaT pros,

    I have a strategy with:
    Entry: UpperBuy
    Exit: UpperExit, 3pmExit
    and one Stop Loss.

    It is based on indicators for the entry and the exit, UpperExit, and based on time and position=long for 3pmExit.

    When the stop loss fires the strategy can re-enter based on the UpperBuy criteria.

    I'd like to set it up so that when the stop loss fires the strategy takes a day off, my thought being to let people/market calm down and reach a new low / more stable range.

    I know about BarsSinceExitExecution but I haven't quite gotten the logic figured out for how to add it to the entry criteria.

    I think it has to be done in a group in the entry conditions.

    I know to get the first entry to fire I have to have BarsSinceExitExecution = -1.

    OR, do you think there is some way to use Realized/Unrealized P&L to get the right effect?

    I'm trying to avoid situations like March, April 2020 with continuous slides down and having 2-5 stop losses in a row. I'm fine with one stop loss but then I want the strategy to just chill out, take a break, go for a walk, and try again one day/week/whatever later.

    Thanks for your help!
    JMC

Latest Posts

Collapse

Topics Statistics Last Post
Started by CarlTrading, 03-31-2026, 09:41 PM
1 response
43 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by CarlTrading, 04-01-2026, 02:41 AM
0 responses
21 views
0 likes
Last Post CarlTrading  
Started by CaptainJack, 03-31-2026, 11:44 PM
0 responses
30 views
1 like
Last Post CaptainJack  
Started by CarlTrading, 03-30-2026, 11:51 AM
0 responses
50 views
0 likes
Last Post CarlTrading  
Started by CarlTrading, 03-30-2026, 11:48 AM
0 responses
40 views
0 likes
Last Post CarlTrading  
Working...
X