OPEN-SOURCE SCRIPT
Aggiornato Hash Supertrend

Hash Supertrend is a visually enhanced Supertrend-based indicator designed by Hash Capital Research, tuned specifically for crypto trend trading on Solana (SOL) and Bitcoin (BTC). It combines institutional-style color coding, an optional session time filter, and production-ready alerts for systematic and discretionary traders alike.
What This Indicator Is
Hash Supertrend is a trend-following volatility band indicator built on TradingView’s native ta.supertrend() function.
It’s optimized and visually styled for:
The script is an indicator, not a strategy:
Key Features
✅ Tuned for Crypto (Solana & Bitcoin)
✅ Non-repainting Supertrend Core
✅ Fluorescent Trend Visualization
✅ Glow Layer & Trend Zones
✅ Time Filter (Session Control)
✅ Signal Dots & Alerts
Tiny green dots for bullish flips
What This Indicator Is
Hash Supertrend is a trend-following volatility band indicator built on TradingView’s native ta.supertrend() function.
It’s optimized and visually styled for:
- High-volatility crypto pairs (especially SOL/USDT, SOL/USD, BTC/USDT, BTC/USD)
- Timeframes typically used by crypto traders (from 5m scalping to 4H swing and 1D trend following)
The script is an indicator, not a strategy:
- It does not place trades or show backtest results.
- It provides clear trend states, flips, and alerts that you can plug into your own execution stack or manual trading.
Key Features
✅ Tuned for Crypto (Solana & Bitcoin)
- Parameters are chosen to respond well to the volatility profile of SOL and BTC, reducing noise while still catching strong moves.
✅ Non-repainting Supertrend Core
- Uses TradingView’s built-in ta.supertrend — values may move intrabar as the bar forms, but once a bar closes, the historical line and signals do not repaint.
✅ Fluorescent Trend Visualization
- Bright green for bullish phases
- Bright red for bearish phases
- Adaptive color intensity based on user setting
✅ Glow Layer & Trend Zones
- Glow effect around the Supertrend line for instant visual recognition
- Optional filled zones between price and line for “trend cloud” style visualization
✅ Time Filter (Session Control)
- Option to only mark signals during specific hours for those wanting to integrate with webhooks
- Designed for traders who avoid certain sessions (e.g., low-liquidity hours)
✅ Signal Dots & Alerts
Tiny green dots for bullish flips
- Tiny red dots for bearish flips
- Professional, preconfigured alerts for:
- Long Entry
- Short Entry
- Any Trend Change
- Filtered signals outside trading hours (for monitoring only)
The core logic is built on: - ATR Length (ATR Length) Default: 16
- Lower values (7–10): more sensitive, more signals, more noise
- Higher values (12–20): smoother, fewer but stronger trend signals
Factor (Factor) Default: 3.11
Lower values (1.5–2.5): tighter bands, earlier entries, higher whipsaws
Higher values (3.0–4.0+): wider bands, later entries, stronger trend confirmation
The indicator reads direction from ta.supertrend and classifies: - Bullish Trend: direction < 0
- Bearish Trend: direction > 0
- A trend flip happens when direction changes sign:
- longSignal: Supertrend flips from above price to below price (bearish → bullish)
- shortSignal: Supertrend flips from below price to above price (bullish → bearish)
Note di rilascio
Hash Supertrend — Volatility-Structured Trend IndicatorPurpose
Hash Supertrend provides a clear, volatility-adjusted view of market trend structure using ATR-based directional bands. It is designed for operators who want consistent trend-state classification and clean execution signals, whether used in discretionary workflows or integrated into automated alert systems.
Conceptual Framework
The indicator is built on TradingView’s native Supertrend calculation, which defines directional bias using two components:
- ATR Length – measures recent volatility
- Factor (ATR Multiplier) – determines how far price must extend to shift trend direction
When price closes beyond the calculated band, the model classifies a regime transition.
This creates a simple and transparent structure for identifying bullish and bearish phases across different markets and timeframes.
The indicator does not place trades; it provides directional context and actionable signals that operators can include in their broader execution framework.
Trend Classification
- The underlying Supertrend direction is interpreted as:
- Bullish Regime — price confirmed above volatility band
- Bearish Regime — price confirmed below volatility band
- A trend flip (direction change) generates a signal marker and optional alert.
- Historical values do not change once the bar has closed.
Visual System
- To support clarity in fast-moving markets, the indicator includes:
- Adaptive fluorescent colors for bullish and bearish states
- Optional glow effect to highlight direction transitions
- Trend zone shading to visually reinforce the active regime
- Signal dots marking bullish and bearish flips
- These elements are purely visual and do not modify the underlying calculation.
- Time-Session Filter (Optional)
Operators may restrict signals to specific trading hours.
This is useful in markets where liquidity quality changes throughout the day.
When enabled, signals outside the selected session are displayed but marked as filtered.
Inputs
ATR Length
Controls sensitivity to volatility; shorter lengths respond faster, longer lengths emphasize structural moves.
Factor (ATR Multiplier)
Defines how much extension is required to confirm a trend reversal.
Visual Options
Allow adjustments to color intensity, glow effect, and zone shading.
Session Filter
Enables hour-based control of signal generation.
Intended Use
The indicator can be applied to any liquid market or timeframe where volatility-adapted trend structure is useful.
It is suitable for discretionary analysis and for systematic workflows using alert integrations.
For educational discussion only. Not financial advice.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Quant research firm developing proprietary indicators, trading automation, and risk frameworks for digital & macro markets.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Quant research firm developing proprietary indicators, trading automation, and risk frameworks for digital & macro markets.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.