200-Day Trend Background (Smoothed Volume Gradient)
Category: trend, volume
Colors the chart background based on the slope of a higher-timeframe 200 SMA, with color intensity (opacity) dynamically scaled by normalized volume.
Formula
Slope = SMA_{200}[Current] - SMA_{200}[5]\nNormVol = EMA(\frac{Vol - min(Vol, 50)}{max(Vol, 50) - min(Vol, 50)}, 5)\nOpacity = MaxOpacity - (NormVol \times (MaxOpacity - MinOpacity))
Inputs
- Neutral Zone Slope Threshold (default: 3.0)
- Volume Normalization Lookback (default: 50)
- Volume Smoothing Length (EMA) (default: 5)
- Opacity Min (default: 50)
- Opacity Max (default: 96)
See signal primitives and every published strategy that uses 200-Day Trend Background (Smoothed Volume Gradient) on WOBR StrategyVerse.