Exit condition based on last 10 week low

Hi. I have been trading 52 week high stocks on streak. The entry condition is pretty much simple: multi frame completed ( week, close(0) crosses above period max (52, high(-1))

Now, I want to create an exit condition like:

  • Exit when stock price touches or goes below last 10 week low (or)

  • Exit when trailing stop loss goes below 30%

I tried period min but that doesn’t seem to work. Can someone please help me on how to set the exit condition.

@Streak can you.

Hi @Filmy_Prabhu

close(0) lower than multiframe completed ( week, period min (52, low(0))

Streak is working on adding a trailing stop loss. However, this is in development not available currently.

Is the above condition same as:
multitime frame completed (week, close(0) crosses below period min (10, low(0)) ?

When tried these two in backtesting, results were different.

This is different. Here the weekly close is getting compared with the 10 weeks lowest low. However, in the condition I had shared, it is comparing the Close price in the current/base timeframe with the 10 weeks lowest low.