OPEN-SOURCE SCRIPT

Regime Filter [BigBeluga]

1 629
🔵 OVERVIEW
Regime Filter [BigBeluga] is a dual-factor trend condition tool combining price trend momentum and volume expansion into a single, easy-to-read visual framework. It quantifies recent trend direction and volume shifts, then shows them as:

  • Two oscillator plots for Trend and Volume regimes
  • Dynamic candle coloring for trend clarity
  • A quadrant scatter map in your chart corner for immediate regime recognition.


This filter helps traders quickly detect when a trend is healthy & confirmed by strong volume, or weakening & vulnerable due to low volume.

🔵 CONCEPTS
  • Trend Oscillator: A loop-based trend value calculated by comparing the current smoothed price (HMA of HLC3) against its own trailing history. Positive values indicate trend-up regimes, negative values signal trend-down phases.
  • Volume Oscillator: Similar loop logic but on smoothed volume (HMA of Volume) — highlighting whether trading activity is expanding or contracting relative to past bars.
    Pine Script®
    hma = ta.hma(hlc3, 15) vol = ta.hma(volume, 15) for i = 0 to len if hma > hma trend += 1 else trend -= 1 for i = 0 to len if vol > vol voltrend += 1 else voltrend -= 1
  • Regime Map Scatter Plot: A unique 2D quadrant displayed in the bottom-right corner. This shows where the market is sitting:

    > Top Right (green): Trend ↑ and Volume ↑ → strong confirmed up trend.
    스냅샷

    > Top Left (red): Trend ↓ but Volume ↑ → strong sell momentum.
    스냅샷

    > Bottom Right (blue): Trend ↑ but Volume ↓ → uptrend losing steam.
    스냅샷

    > Bottom Left (yellow): Trend ↓ and Volume ↓ → weak bearish drift.
    스냅샷
  • Dynamic Candle Coloring: Candles are colored by trend only: green for uptrends, red for downtrends, and orange near reversals.
    스냅샷
  • Threshold Fills: The oscillator region is shaded green above +10 (healthy uptrend) and red below -10 (strong downtrend) for instant confidence.
    스냅샷


🔵 FEATURES
  • Normalized trend and volume values adapt automatically to your lookback length.
  • Candlestick color overrides highlight current trend state in real-time.
  • Clear zero-line and fill bands help you gauge strength vs. noise.
  • Scatter regime dashboard updates live to track when trend and volume align or decouple.
  • Color gradients show intensification or cooling in both oscillators and the regime map.


🔵 HOW TO USE
  • Look for sustained positive trend and volume values to confirm strong directional moves.
    스냅샷
  • Watch for the scatter dot in the green square (top right) for high-confidence breakouts.
    스냅샷
  • If the dot drops to bottom right, uptrend may be tiring — possible exit zone.
  • If the dot jumps top left, bearish drive is reinforced by heavy volume — caution on longs.
  • Use the orange trend coloring as an early warning that trend pressure may be shifting.
  • Combine with breakout levels or moving averages for a robust regime filter system.


🔵 CONCLUSION
The Regime Filter [BigBeluga] distills price trend and volume dynamics into an actionable multi-mode display: oscillators, color-coded candles, and an intuitive scatter map. This all-in-one layout helps traders visually read market regime strength and spot fading trends before they turn — perfect for swing traders, intraday scalpers, and macro trend followers alike.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.