OPEN-SOURCE SCRIPT

Hash Supertrend [Hash Capital Research]

49
Hash Supertrend Strategy by Hash Capital Research

Overview
Hash Supertrend is a professional-grade trend-following strategy that combines the proven Supertrend indicator with institutional visual design and flexible time filtering.

The strategy uses ATR-based volatility bands to identify trend direction and executes position reversals when the trend flips.This implementation features a distinctive fluorescent color system with customizable glow effects, making trend changes immediately visible while maintaining the clean, professional aesthetic expected in quantitative trading environments.
Entry Signals:

  • Long Entry: Price crosses above the Supertrend line (trend flips bullish)
  • Short Entry: Price crosses below the Supertrend line (trend flips bearish)


Controls the lookback period for volatility calculation
Lower values (7-10): More sensitive to price changes, generates more signals
Higher values (12-14): Smoother response, fewer signals but potentially delayed entries
Recommended range: 7-14 depending on market volatility
Factor (Default: 3.0)

Restricts trading to specific hours
Useful for avoiding low-liquidity sessions, overnight gaps, or known choppy periods
When disabled, strategy trades 24/7
Start Hour (Default: 9) & Start Minute (Default: 30)

Define when the trading session begins
Uses exchange timezone in 24-hour format
Example: 9:30 = 9:30 AM
End Hour (Default: 16) & End Minute (Default: 0)

Controls the vibrancy of the fluorescent color system
  • 1-3: Subtle, muted colors
  • 4-6: Balanced, moderate saturation
  • 7-10: Bright, highly saturated fluorescent appearance
  • Affects both the Supertrend line and trend zones
  • Glow Effect (Default: On)


Adds luminous halo around the Supertrend line
  • Creates a multi-layered visual with depth
  • Particularly effective during strong trends
  • Glow Intensity (Default: 5.0)


Displays tiny fluorescent dots at entry points
  • Green dot below bar: Long entry
  • Red dot above bar: Short entry
  • Provides clear visual confirmation of executed trades
  • Show Trend Zone (Default: On)


Strong trending markets (2020-style bull runs, sustained bear markets)
Markets with clear directional bias
Instruments with consistent volatility patterns
Timeframes: 15m to Daily (optimal on 1H-4H)
Challenging Conditions:

Choppy, range-bound markets
Low volatility consolidation periods
Highly news-driven instruments with frequent gaps
Very low timeframes (1m-5m) prone to noise
Recommended AssetsCryptocurrency:

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.