INVITE-ONLY SCRIPT
Atualizado

LinReg Wave | Lyro RS

103
Introduction
The LinReg Wave is a proprietary reversal-focused indicator tailored for short-term trading strategies. Designed for traders who seek precision during rapid market fluctuations, it incorporates multiple configurable modules that adapt visually and analytically to varying chart conditions. Its structure aligns with modern trading needs, emphasizing clarity in trend reversals and momentum shifts on lower timeframes.

snapshot

Overview
This indicator presents a wave-based system that builds on regression analysis, with adjustable smoothing, cloud overlays, and valuation zones. It integrates flexible display options, including visual transitions between Heikin Ashi-style representation and conventional views. The architecture accommodates real-time trend strength feedback, directional cues, and context-sensitive take profit signals, all structured within a controlled visual environment.

Purpose
The core purpose of this script is to support intraday and scalping strategies on lower timeframes by highlighting potential reversal points. It is not a trend-following tool but rather one that isolates potential exhaustion areas, overbought/oversold dynamics, and shifting directional strength. Traders can use it to identify momentum reversals, gauge valuation conditions, and assess short-term trend viability across instruments. Its visual modularity makes it adaptable for discretionary strategies and multi-mode analysis.

snapshot

Originality & Uniqueness
Unlike typical linear regression-based indicators that focus purely on slope or crossover dynamics, this script blends multiple components under a unified visual and functional scheme. It features user-defined visual theming, mode-dependent behavior changes, and layered analytical outputs, such as momentum normalization and volatility-responsive overlays. The ability to fluidly shift between cloud-based interpretation, Heikin Ashi-style momentum analysis, and valuation extremes creates a multidimensional toolkit not commonly found in conventional indicators.

Inputs
Each input is crafted to give the trader granular control over the indicator’s behavior:
  • Source: Determines the price series to analyze (typically close). It defines the core input for regression and smoothing processes.
  • Wave Length: Sets the depth of the momentum calculation. Higher values result in smoother waves, suitable for filtering noise.
  • LR Length: Defines the period of the underlying regression trend evaluation.
  • Select Moving Average (for wave smoothing): A choice among 16 MA types. Enables custom smoothing profiles for wave behavior.
  • LR Wave Smoothing Length: Adjusts the secondary smoothing applied to the primary signal, further refining its responsiveness.
  • Use 0 as Middle Line: If enabled, sets a fixed reference at zero for the standard deviation bands.
  • Standard Deviation Length: Length over which volatility (standard deviation) is calculated.
  • Standard Deviation Multiplier: Adjusts the distance of upper and lower bands from the reference.
  • Select Moving Average: Defines the smoothing basis for the cloud using customizable MA types.
  • Cloud Length: Length of the moving average used in the cloud calculation.
  • Upper Band Multiplier / Lower Band Multiplier: Control the vertical width of the cloud envelope.

  • Color customization options are available via: Custom Color Palette: Choose from predefined themes or define custom up/down colors across different modules (cloud, TP, main).
  • Use Custom Palette: Allows manual override of default palettes.
  • Custom Up / Down Colors: Manually input colors for trend representation.
  • Enable Take Profit Labels: Turns on/off display of potential TP zones.
  • TP Color settings: Follow the same palette logic, allowing custom or theme-based visual styles.
  • Display Variation: Choose between Heikin Ashi or Classic display methods for the visual plot.
  • Select Mode: Switch between Cloud, Heikin Ashi Trend, and Valuation modes depending on analysis preference.

  • Force Table Overlay: Forces the status table to overlay even when chart conditions change.
  • LR Wave Modes Table: Lets users choose table position on the chart.
  • Table Size: Set table size for clarity based on screen space and preference.

Features
This indicator incorporates several feature layers to guide trading decisions:
  1. Regression Wave Plot:
    Visualizes wave movement derived from dynamic regression. In Classic mode, it reflects raw slope behavior. In Heikin Ashi mode, it shifts to a candle-style display for smoother trend context.

  2. Mode Selector:
    Users can alternate between Cloud, HA Trend, and Valuation modes:
    Cloud Mode overlays price with an adaptive volatility-based band system.
    HA Trend Mode emphasizes visual HA-style momentum changes for identifying short-term directional strength.
    Valuation Mode identifies zones where price is considered relatively high or low based on statistical thresholds.
  3. Standard Deviation Bands:
    Dual-layered bands (1SD and 2SD) mark potential exhaustion zones or price extremes. The option to anchor these bands around zero adds flexibility for users who prefer a fixed-reference environment.

  4. Cloud Overlay:
    A volatility-augmented cloud rendered on price charts shows current trend width and strength. The cloud auto-adjusts its amplitude based on internal momentum measures, offering dynamic compression or expansion relative to market conditions.

  5. Heikin Ashi Rendering:
    An alternative visual interpretation, especially effective in highlighting subtle transitions in momentum. HA candles adapt to slope behavior when Classic mode is disabled, giving an impression of smoothed swings.

  6. Take Profit Signal Layer:
    Designed specifically for the Cloud mode, this module highlights conditions where recent momentum surges may be due for reversion or partial exits. It limits signals to a maximum count per trend leg to prevent over-clustering.

  7. Trend State Table:
    A modular data table that tracks mode status, trend direction, valuation condition, and trend strength. It updates live and responds to current analysis settings. This feature ensures users can interpret model output at a glance without decoding plot behavior.

  8. Alert System:
    Configurable alert conditions are embedded for all major transitions:
    • Cloud trend changes
    • Heikin Ashi trend flips
    • Valuation zone crossings
    • Take profit triggers

    These alerts are meant for traders who rely on real-time signals and wish to be notified when critical zones are entered or left.


Conclusion
The LinReg Wave is a multi-module indicator developed for short-term traders seeking structured reversal insights. With support for multiple modes of operation, adjustable visual presentation, and a responsive signal engine, it provides a controlled environment for observing price extremes and directional transitions. While it requires tuning and contextual judgment, it offers a versatile set of tools to monitor and act on short-term price movements in volatile sessions.

⚠️ Disclaimer
This indicator is a technical analysis tool and does not guarantee results. It should be used in conjunction with additional analysis methods and proper risk management strategies. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Notas de Lançamento
Bug Fix.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.