OPEN-SOURCE SCRIPT
TNP/BB Trend Indicator

This indicator identifies trend shifts on the 1H timeframe by combining trigger candle patterns with daily support/resistance zones. It helps traders align lower-timeframe entries with higher-timeframe context.
🔹 Core Logic
Daily Zones
Uses the daily chart to mark bullish zones (support) and bearish zones (resistance).
A valid trend signal only occurs when price action aligns with these zones.
Trigger Candles (1H)
TNP (Triple Negative/Positive Price): A structured 3-bar pattern indicating strong directional intent.
BB (Big Body Candle): A wide-range candle with significant body size compared to recent volatility, signaling momentum.
Trend Confirmation
A Bullish Trend is signaled when a bullish trigger forms inside a daily bullish zone.
A Bearish Trend is signaled when a bearish trigger forms inside a daily bearish zone.
Signals are plotted with arrows on the chart, and the current trend state (Bullish / Bearish / Neutral) is displayed live.
🔹 Core Logic
Daily Zones
Uses the daily chart to mark bullish zones (support) and bearish zones (resistance).
A valid trend signal only occurs when price action aligns with these zones.
Trigger Candles (1H)
TNP (Triple Negative/Positive Price): A structured 3-bar pattern indicating strong directional intent.
BB (Big Body Candle): A wide-range candle with significant body size compared to recent volatility, signaling momentum.
Trend Confirmation
A Bullish Trend is signaled when a bullish trigger forms inside a daily bullish zone.
A Bearish Trend is signaled when a bearish trigger forms inside a daily bearish zone.
Signals are plotted with arrows on the chart, and the current trend state (Bullish / Bearish / Neutral) is displayed live.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。