PROTECTED SOURCE SCRIPT
已更新 SwPremium

This indicator is a comprehensive technical analysis tool designed to identify high-probability trend reversal and continuation setups using a Multi-Factor Confluence system. It combines six powerful classic indicators into a unified logic engine to filter out market noise and provide actionable signals.
The logic is built around a unique "Hook & Trigger" mechanism, which prevents premature entries by requiring a setup phase before a confirmation phase.
How It Works (The Logic)
The script monitors the market in two distinct stages:
1. The "Hook" Phase (Setup): Before looking for an entry, the script waits for a specific number of conditions to be met simultaneously (user-defined count, e.g., 4 out of 6). This indicates that the market is primed for a move.
Stoch RSI: Checks for overbought/oversold extremes (Custom thresholds).
RSI: Monitors relative strength against lower/upper bounds.
CCI: Analyzes momentum deviations.
TRIX: Identifies trend direction changes.
MACD: Looks for bullish/bearish crosses or convergence patterns.
Bollinger Bands: Checks price position relative to the bands (Mean Reversion logic).
2. The "Full Entry" Phase (Trigger): Once the "Hook" is established, the script enters a "Waiting Mode" for a user-defined period (Timeout Bars). During this window, if a secondary set of confirmation conditions ("Full Entry" criteria) is met, a final signal is generated.
This ensures that we don't just catch a falling knife but wait for momentum confirmation within the setup window.
Features & Indicators Used
RSI & Stochastic RSI: Dual momentum filtering to gauge exhaustion points.
CCI (Commodity Channel Index): With smoothing options (SMA, EMA, WMA) to detect cyclical trends.
MACD: Includes both crossover logic and histogram convergence detection.
TRIX: A triple exponentially smoothed moving average to filter insignificant price movements.
Bollinger Bands: Used to determine relative high/low price levels.
Dashboard & Visuals
Live Information Table: A panel displayed on the top-right corner shows the real-time status of every single indicator (RSI, Stoch, CCI, etc.), the current trend bias (Long/Short), and the status of the "Hook" mechanism.
Labels & Alerts:
Yellow Triangle/Labels: Indicates a "Hook" (Setup) has formed.
Green/Red Arrows: Indicates a confirmed "Long" or "Short" entry signal.
Alerts: Fully compatible with TradingView alerts for automation.
Settings
Signal Settings: Customize how many conditions are needed for a "Hook" vs. a "Full Entry".
Indicator Parameters: Full control over periods, lengths, and source types for RSI, CCI, MACD, and BB.
Visuals: Toggle the dashboard, labels, and arrows on/off according to your chart preference.
Disclaimer: This tool is for educational purposes and technical analysis assistance. It does not guarantee profits. Always use proper risk management.
The logic is built around a unique "Hook & Trigger" mechanism, which prevents premature entries by requiring a setup phase before a confirmation phase.
How It Works (The Logic)
The script monitors the market in two distinct stages:
1. The "Hook" Phase (Setup): Before looking for an entry, the script waits for a specific number of conditions to be met simultaneously (user-defined count, e.g., 4 out of 6). This indicates that the market is primed for a move.
Stoch RSI: Checks for overbought/oversold extremes (Custom thresholds).
RSI: Monitors relative strength against lower/upper bounds.
CCI: Analyzes momentum deviations.
TRIX: Identifies trend direction changes.
MACD: Looks for bullish/bearish crosses or convergence patterns.
Bollinger Bands: Checks price position relative to the bands (Mean Reversion logic).
2. The "Full Entry" Phase (Trigger): Once the "Hook" is established, the script enters a "Waiting Mode" for a user-defined period (Timeout Bars). During this window, if a secondary set of confirmation conditions ("Full Entry" criteria) is met, a final signal is generated.
This ensures that we don't just catch a falling knife but wait for momentum confirmation within the setup window.
Features & Indicators Used
RSI & Stochastic RSI: Dual momentum filtering to gauge exhaustion points.
CCI (Commodity Channel Index): With smoothing options (SMA, EMA, WMA) to detect cyclical trends.
MACD: Includes both crossover logic and histogram convergence detection.
TRIX: A triple exponentially smoothed moving average to filter insignificant price movements.
Bollinger Bands: Used to determine relative high/low price levels.
Dashboard & Visuals
Live Information Table: A panel displayed on the top-right corner shows the real-time status of every single indicator (RSI, Stoch, CCI, etc.), the current trend bias (Long/Short), and the status of the "Hook" mechanism.
Labels & Alerts:
Yellow Triangle/Labels: Indicates a "Hook" (Setup) has formed.
Green/Red Arrows: Indicates a confirmed "Long" or "Short" entry signal.
Alerts: Fully compatible with TradingView alerts for automation.
Settings
Signal Settings: Customize how many conditions are needed for a "Hook" vs. a "Full Entry".
Indicator Parameters: Full control over periods, lengths, and source types for RSI, CCI, MACD, and BB.
Visuals: Toggle the dashboard, labels, and arrows on/off according to your chart preference.
Disclaimer: This tool is for educational purposes and technical analysis assistance. It does not guarantee profits. Always use proper risk management.
發行說明
Minor display bug fixed %k and %d line in graphic deleted受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。