All indicators

L2 Vitali Apirine Stochastic MACD Oscillator

Apr 29, 2022

Static chart image
SignalsOscillatorsDivergencesMoving Averages

The L2 Vitali Apirine Stochastic MACD Oscillator indicator is a momentum tool that combines the sensitivity of the stochastic oscillator with the trend-following capabilities of the MACD to identify potential reversals and trend strength.

Usage

The indicator can be used to identify trend changes and potential entry or exit points through its various visual components:

  • Crossovers: A "Buy" signal (B) is generated when the Stochastic MACD line crosses above its signal line (Stochastic MACD Avg). Conversely, a "Sell" signal (S) is generated when it crosses below.
  • Overbought/Oversold Levels: Traditional levels (defaulting to +10 and -10) help identify when the MACD momentum has reached an extreme relative to the recent price range.
  • Histogram Analysis: The histogram represents the distance between the oscillator and its signal line. Increasing brightness in the histogram bars suggests strengthening momentum, while fading colors suggest a potential slowdown.
  • Zero Line: The central zero line serves as a baseline for the convergence and divergence of the underlying moving averages.

Details

Developed based on Vitali Apirine’s research, this oscillator transforms the standard MACD calculation. Instead of using raw price data, it calculates the stochastic position of two Exponential Moving Averages (Fast and Slow) relative to the high-low range over a specific period.

By normalizing the MACD values into a percentage-based oscillator, it allows traders to apply stochastic principles—such as overbought and oversold thresholds—to moving average convergence/divergence. This implementation includes a signal line for crossover detection and a colored histogram to better visualize momentum velocity.

Settings

  • Periods: Sets the lookback window used to determine the highest high and lowest low for the stochastic calculation.
  • Fast EMA Length: The period for the shorter Exponential Moving Average.
  • Slow EMA Length: The period for the longer Exponential Moving Average.
  • Stochastic MACD Length: The smoothing period for the signal line (Stochastic MACD Avg).
  • Overbought Level: Defines the upper threshold for extreme momentum readings.
  • Oversold Level: Defines the lower threshold for extreme momentum readings.

FAQ

How do I interpret the "B" and "S" labels?

The labels appear during crossovers. A "B" indicates a bullish crossover where the oscillator moves above its signal line, while an "S" indicates a bearish crossunder.

Can this indicator be used for divergence trading?

Yes, like the standard MACD or Stochastic, users can look for discrepancies between price action peaks/troughs and the peaks/troughs of the Stochastic MACD line to identify potential trend exhaustion.

How can I access the L2 Vitali Apirine Stochastic MACD Oscillator?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.