All indicators

Multi-Length Stochastic Average

By LuxAlgoSep 20, 2021

Static chart image

Multi-Length Stochastic Average blends stochastic oscillators of every period from 4 up to a user-defined maximum into one average. The payoff is double: an oscillator more reactive than any single long lookback, and a direct read on where price sits relative to rolling maximums and minimums across the whole span of periods. The line prints 0 only when price matches every rolling minimum in the range, and 100 only when it matches every rolling maximum.

How to Trade the Multi-Length Stochastic Average?

  • Crosses of the 20/80 levels: marked with circles. These transitions time trades better than watching slope alone or waiting for the 50 mark to give way.
  • Extremes at 0 or 100: every measured lookback agrees price is pinned to its lows or highs, the strongest statement of stretch the tool can make.
  • Direction and strength: read it like any bounded oscillator from the momentum family; sustained readings on one side of 50 accompany trending conditions.

Pre-smoothing the source (a 20-period simple average, for instance) makes the color coding and crossing circles more pronounced. Stay alert to retracements inside a trend, which can bend the oscillator without ending the move.

Multi-Length Stochastic Average Settings

  • Length: the largest stochastic period included; every period from 4 up to it contributes to the average.
  • Source: the series the stochastics are computed from.
  • Pre-Smoothing (1st Input): how much smoothing hits the source before calculation.
  • Pre-Smoothing (2nd Input): the pre-smoothing method.
  • Post-Smoothing (1st Input): smoothing applied to the finished oscillator.
  • Post-Smoothing (2nd Input): the post-smoothing method.

Available methods are a simple, triangular, or least-squares moving average, plus "None" for raw output; the least-squares option can overshoot when used for post-smoothing.

Frequently Asked Questions

Free on Vela

Run it on Vela. Go further with a paid plan.

  • Up to 500 strategy alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans

Also works on

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.