Hyper swing

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.
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. ร necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente c9indicator.
TradingView NON consiglia di acquistare o utilizzare uno script a meno che non si abbia piena fiducia nel suo autore e se ne comprenda il funzionamento. ร inoltre possibile trovare alternative gratuite e open source nei nostri script della community.
Istruzioni dell'autore
Declinazione di responsabilitร
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. ร necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente c9indicator.
TradingView NON consiglia di acquistare o utilizzare uno script a meno che non si abbia piena fiducia nel suo autore e se ne comprenda il funzionamento. ร inoltre possibile trovare alternative gratuite e open source nei nostri script della community.