Editors' picks
OPEN-SOURCE SCRIPT
Updated

Log Regression Oscillator Channel [BigBeluga]

24 207

This unique overlay tool blends logarithmic trend analysis with dynamic oscillator behavior. It projects RSI, MFI, or Stochastic lines directly into a log regression channel on the price chart — offering an intuitive way to detect overbought/oversold momentum within the broader price structure.

snapshot


🔵Key Features:
  • Logarithmic Regression Channel:
    ➣ Draws a trend-based channel using logarithmic regression, adapting to price growth curvature over time.
    ➣ Features upper, lower, and optional midline boundaries to visualize trend flow and range extremes.
    snapshot
  • Oscillator Overlay (RSI / MFI / Stochastic):
    ➣ Projects your chosen oscillator inside the channel using dynamic polylines.
    ➣ Allows switching between RSI, Money Flow Index, or Stochastic for versatile momentum insight.
    snapshotsnapshotsnapshot
  • Threshold-Based Scaling:
    ➣ The top and bottom of the channel represent traditional oscillator thresholds (e.g., RSI 70/30).
    ➣ Users can modify the scale in settings to customize what "overbought" or "oversold" means visually.
    snapshot
  • Signal Line Integration:
    ➣ Adds a yellow moving average (signal line) for smoother confirmation of oscillator turns.
    ➣ Helps identify divergence, momentum shifts, and fakeouts with better clarity.
    snapshot
  • Live Oscillator Readout:
    ➣ Displays the real-time oscillator value at the right edge of the chart.
    ➣ Ensures traders stay aware of current momentum levels without switching panels.
    snapshot


🔵Usage:
  • Momentum Context:
    ➣ When the oscillator touches the upper regression band, it may signal local overbought pressure.
    ➣ Touching the lower band may indicate oversold conditions within the current log trend.

  • Divergence Detection:
    ➣ Use the oscillator’s behavior relative to the channel slope to spot divergence from price.
    ➣ For example, RSI rising inside a falling channel can flag early trend shifts.

  • Trend-Sensitive Entries:
    ➣ Combine oscillator signals with log channel direction to filter trades in trend alignment.
    ➣ Signal line crossovers inside the channel act as early warning for momentum turns.



The Log Regression Oscillator Channel [BigBeluga] transforms how traders view classic momentum tools. By embedding oscillators into a logarithmic trend structure, it offers unmatched clarity on momentum positioning relative to price expansion. Ideal for swing traders, mean-reverters, or trend followers looking to sharpen entries and exits with style.
Release Notes
- hlc3 source of MFI
- Added Stochastic RSI
snapshot

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.