This indicator detect fake breakout on previous day high/low and option previous swing high and low
Rule Detect Fake Breakout On Previous Day High/Low Or Swing high low Fake Breakout -
1) Detect previous day high/low or swing high/low
2) A) If price revisit on previous day high/swing high look for upside breakout after input number of candle (1-5) price came back to previous high and breakout happen downside it show sell because its fake breakout of previous day high or swing high https://www.tradingview.com/x/U3mdK0QZ/
B) If price revisit on previous day low/swing low look for downside breakout after input number of candle (1-5) price came back to previous low and breakout upside of previous day low it show Buy because its fake breakout of previous day low or swing low https://www.tradingview.com/x/qT5xI4GJ/
Disclaimer -Traders can use this script as a starting point for further customization or as a reference for developing their own trading strategies. It's important to note that past performance is not indicative of future results, and thorough testing and validation are recommended before deploying any trading strategy.