Log in to see Cloud of Tags

Wealth-Lab Wiki

Adaptive Laguerre filter

RSS

Adaptive Laguerre: Indicator Documentation

Syntax

DataSeries AdaptiveLaguerre( DataSeries ds, int period );

Parameter Description

bars Bars object
ds Data Series
period Lookback period

Description

The Adaptive Laguerre filter is a variation on the Laguerre filter using a variable gamma factor, based on how well the filter is tracking a past Lookback bars prices. Like other adaptive moving averages, it will track trending moves closely but will change less in range-bound markets.

References:

  • The Laguerre RSI indicator created by John F. Ehlers is described in his book "Cybernetic Analysis for Stocks and Futures". It's a pretty responsive RSI successor constructed using only 4 bars of data, but compared to the regular RSI it has way less noise (whipsaws) considering its fast reaction speed.
  • MESA Software: "Time Warp – Without Space Travel" (by John F. Ehlers; Word document inside an EXE archive) illustrates the LaguerreRSI construction.


Note:

Do not try to apply AdaptiveLaguerre to itself with the same period; it will cause chart to be stuck in an endless loop. If you need to smooth the AdaptiveLaguerre with itself, use a different period.

Example

This example illustrates how to create the Adaptive Laguerre series and plot them:

using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators; using Community.Indicators; // Adaptive Laguerre here

namespace WealthLab.Strategies { public class AdaptiveLaguerreDemo : WealthScript { protected override void Execute() { // Create a 30-period adaptive Laguerre series on closing price AdaptiveLaguerre al = AdaptiveLaguerre.Series( Bars,Close,30 ); PlotSeries( PricePane, al, Color.Blue, WealthLab.LineStyle.Solid, 2 ); } } }


And here is how another good adaptive moving average, KAMA, compares to Adaptive Laguerre in a short squeeze environment (Volkswagen, daily):

Adaptive Laguerre vs. KAMA

Adaptive Laguerre vs. KAMA

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.


ScrewTurn Wiki. Some of the icons created by FamFamFam.