OPEN-SOURCE SCRIPT
Thursday High & Friday Low Breakout (Safe)

This TradingView Pine Script indicator is designed to help traders visually track two key situational breakout patterns that occur across the Thursday–Monday trading window. Specifically, it detects:
Whether the high of Thursday has been taken out on Friday, and
Whether the low of Friday has been breached on Monday.
These conditions are based on commonly observed market behaviors where key highs and lows from the previous days often act as liquidity targets or decision points. By identifying these events, traders can better understand the unfolding market structure and anticipate potential follow-through or reversals.
The script stores Thursday's high and Friday's low at the close of each respective day and evaluates the breakout conditions in real-time as new bars are printed. When Friday’s price action exceeds Thursday’s high, an upward-pointing green triangle is plotted above the bar. Conversely, when Monday’s price breaks below Friday’s low, a red downward triangle is plotted below the bar.
Unlike scripts that rely on label.new (which can create compatibility issues on certain platforms or versions), this version uses plotshape() to ensure wide compatibility and reliable visual cues, even on older Pine Script environments. This makes it lightweight, robust, and ideal for traders who want a quick-glance tool without cluttering their charts.
The indicator is best used on 1H, 4H, or daily timeframes to clearly observe the Thursday–Friday–Monday structure. It works well in both trending and consolidating markets as a tool to mark potential liquidity sweeps or break-of-structure setups.
Whether the high of Thursday has been taken out on Friday, and
Whether the low of Friday has been breached on Monday.
These conditions are based on commonly observed market behaviors where key highs and lows from the previous days often act as liquidity targets or decision points. By identifying these events, traders can better understand the unfolding market structure and anticipate potential follow-through or reversals.
The script stores Thursday's high and Friday's low at the close of each respective day and evaluates the breakout conditions in real-time as new bars are printed. When Friday’s price action exceeds Thursday’s high, an upward-pointing green triangle is plotted above the bar. Conversely, when Monday’s price breaks below Friday’s low, a red downward triangle is plotted below the bar.
Unlike scripts that rely on label.new (which can create compatibility issues on certain platforms or versions), this version uses plotshape() to ensure wide compatibility and reliable visual cues, even on older Pine Script environments. This makes it lightweight, robust, and ideal for traders who want a quick-glance tool without cluttering their charts.
The indicator is best used on 1H, 4H, or daily timeframes to clearly observe the Thursday–Friday–Monday structure. It works well in both trending and consolidating markets as a tool to mark potential liquidity sweeps or break-of-structure setups.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。