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)
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Quant research firm developing proprietary indicators, trading automation, and risk frameworks for digital & macro markets.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Quant research firm developing proprietary indicators, trading automation, and risk frameworks for digital & macro markets.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。