Help for a code in Streak

I want to enter when a 5min candle crosses above R1 or the Previous day’s high, the highest of both, and the target is R2. Is this possible to create in Streak?

I think you can use the Max feature and add R1 and previous day high inside it

Hi @shubham_kumar2

@Ranjeet_Sharma is correct. You can use the Max function to find out the highest value out of the two. I have created a strategy as per your requirement. Refer to it as an example of your requirement.

Refer to the link to learn about the Max function - Create (Advanced) - Streak Help

Hope this helps.