Coding required for below Set Up :-
3 Consecutive Lower Highs and Lower Lows - 4th Candle Close = 1st Candle High.
Ex- 1 st Candle - High is 100 , low 90
2nd Canle - High is 95 , low 85
3rd candle - High is 90, low 80
4th Candle - Close is 100 or above 100
Any Time frame :- 15 /30/ 45/ 60 Minutes / Day / Weekly / Monthly