Purpose: This indicator identifies potential liquidity zones and grabs based on the previous week's price action.
Key Components:
Tracks previous week's high and low prices
Plots these levels as dotted lines (red for high, green for low)
Detects "liquidity grabs" when price exceeds these levels but closes back within them
Logic Explained:
prevWeekHigh and prevWeekLow are updated at the start of each new week using the highest high and lowest low of the past 7 periods
A "Bear Trap" (red triangle up) appears when price exceeds the previous week's high but closes below it
A "Bull Trap" (green triangle down) appears when price falls below the previous week's low but closes above it
Visualization:
Red dotted line: Previous week's high
Green dotted line: Previous week's low
Red triangle up: Bearish liquidity grab
Green triangle down: Bullish liquidity grab
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
為了快速訪問圖表,請將此腳本新增至收藏夾 — 在此處以了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在
使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
為了快速訪問圖表,請將此腳本新增至收藏夾 — 在此處以了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在
使用條款閱讀更多資訊。