Close above pivot

How do I buy at 1 min close higher than high of first candle close above pivot R1…please help me out

Hi,

Maybe you can try this. I am not sure if it will work as per your expectation. you will need to verify the backtests.

Thanks.