INVITE-ONLY SCRIPT
Hyper swing

📌 Hyper Swing is a trend-based strategy that uses bands that change based on volatility to identify and execute directional breakouts.
This strategy includes adjustable strictness, intuitive visual trading area lines, and dynamic trend colors.
────────────────────────────
Trend Framework
─────────────────────────────
■ Core Trend Calculation
This strategy builds a trend model using:
EMA (Base): Short-term trend reference point.
EMA (Smoothing): Smooths the trend reference point further.
Volatility Band Threshold:
threshold = baseSensitivity × strictFactor × stdev(close, mainLen)
Using this threshold, we get:
Upper Band = Smoothing + Threshold
Lower Band = Smoothing - Threshold
These adaptive bands determine bullish and bearish breakouts.

■ Strictness System (1-10)
The higher the strictness level, the stronger the price breakout must be before it is considered a true signal.
Each level is mapped to a strictFactor, which controls volatility sensitivity.
Level Factor
1 0.8
2 1.0
3 1.2
4 1.5
5 1.8
6 2.0
7 2.2
8 2.5
9 2.8
10 3.0
Higher strictness results in fewer but stronger signals.

■ Trend Detection
Uptrend: Close > upperBand
Downtrend: Close < lowerBand
Trendline colors change dynamically.
Neutral: No graph color
──────────────────────────
Signal Generation
──────────────────────────
■ Trigger Conditions
Long Breakout: Crossover (Closing Price, Upper Band)
Short Analysis: Cross-Under (Closing Price, Lower Band)
■ Preventing Duplicate Signals
The status variable (lastSignal)
does not repeat consecutive long signals.
does not repeat consecutive short signals.
This prevents over-triggering in turbulent situations.

■ Purpose
Hyper Swing is designed to:
Capture strong momentum swings using statistically adapted breakout trading techniques.
Reduces noise through a multi-stage stringency filter.
Prevents duplicate signals in the same direction using a swap format.
This strategy does not predict future prices or guarantee profitability. It's simply a matter of applying systematic rules to breakout-based swing trading.
This strategy includes adjustable strictness, intuitive visual trading area lines, and dynamic trend colors.
────────────────────────────
Trend Framework
─────────────────────────────
■ Core Trend Calculation
This strategy builds a trend model using:
EMA (Base): Short-term trend reference point.
EMA (Smoothing): Smooths the trend reference point further.
Volatility Band Threshold:
threshold = baseSensitivity × strictFactor × stdev(close, mainLen)
Using this threshold, we get:
Upper Band = Smoothing + Threshold
Lower Band = Smoothing - Threshold
These adaptive bands determine bullish and bearish breakouts.
■ Strictness System (1-10)
The higher the strictness level, the stronger the price breakout must be before it is considered a true signal.
Each level is mapped to a strictFactor, which controls volatility sensitivity.
Level Factor
1 0.8
2 1.0
3 1.2
4 1.5
5 1.8
6 2.0
7 2.2
8 2.5
9 2.8
10 3.0
Higher strictness results in fewer but stronger signals.
■ Trend Detection
Uptrend: Close > upperBand
Downtrend: Close < lowerBand
Trendline colors change dynamically.
Neutral: No graph color
──────────────────────────
Signal Generation
──────────────────────────
■ Trigger Conditions
Long Breakout: Crossover (Closing Price, Upper Band)
Short Analysis: Cross-Under (Closing Price, Lower Band)
■ Preventing Duplicate Signals
The status variable (lastSignal)
does not repeat consecutive long signals.
does not repeat consecutive short signals.
This prevents over-triggering in turbulent situations.
■ Purpose
Hyper Swing is designed to:
Capture strong momentum swings using statistically adapted breakout trading techniques.
Reduces noise through a multi-stage stringency filter.
Prevents duplicate signals in the same direction using a swap format.
This strategy does not predict future prices or guarantee profitability. It's simply a matter of applying systematic rules to breakout-based swing trading.
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡c9indicator。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
This script is provided as Invite-Only. If you would like to request access, please send me a message on my TradingView profile including your username.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡c9indicator。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
This script is provided as Invite-Only. If you would like to request access, please send me a message on my TradingView profile including your username.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。