Entry and exit condition

Entry condition-
*One day ago high greater than 20 Ema.

  • Latest high crosses above one day ago high
    Then take a trade…

Exit condition -
Exit at latest day close OR previous day
Candle Low whichever hota first.

Hi could anyone help me write above condition
in streak.

Hi @Amit_Bharade

I have created a strategy as per my understanding of your requirement. Please refer to the below link to learn how to write your conditions in Streak.

The above strategy will generate a trigger when the high is higher than EMA20 in the previous candle and in the current candle the high crosses above the previous day’s day.

The exit will be triggered when a daily candle closes below the Signal candle’s close value (candle where high crossed above the previous candle high) or when a candle closes below the candle prior to the signal candle, whichever is lower. I have kept the TP as 20%, you can change this as per your preference.

Hope this helps.

I am not able to open this code .I want to backtest this condition with little change.If possible,please help me.

Hi @Rudraa

Kindly note that the link shared above is from the old platform of Streak which is phased out and hence you are unable to access it.

We would like to let you know that Streak has launched the new Streak platform that is accessible to all Zerodha Users at no cost.
You can access this platform through the link:
Website https://www.streak.tech/ and
App link https://play.google.com/store/apps/details?id=com.open.streak&pli=1

However, we have shared conditions based on our understanding of the above description of the strategy. You can refer to and create the same on the new platform.

For exit condition

Note: For further queries, write back to us at [email protected].

Hope this helps.

You have shared below link. How to open it in the new website https://www.streak.tech/. I am struggling to access it.

Hi, @Nitu_Kumari The link shared above is from the old platform of Streak which is phased out and hence you are unable to access it.

However, we have created the conditions for the above shared strategy in the new platform you can use the link and directly copy into your account.
https://www.streak.tech/strategy/nitu-kumari-qna

Hope this helps.