OPEN-SOURCE SCRIPT
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)
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Quant research firm developing proprietary indicators, trading automation, and risk frameworks for digital & macro markets.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Quant research firm developing proprietary indicators, trading automation, and risk frameworks for digital & macro markets.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.