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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。