Thanks, i have that but the parameters is quite different from what i am looking for, I appreciate your quick response ,
You can check the attached images to have an insight into my request . The code should put into consideration other price action like engulfing candles, pin bar, hammer along with double top and bottom for a reversal trading for in between 2 to 6 candle expiry .