Log in to see Cloud of Tags

Wealth-Lab Wiki

TASC 2017-09 | The Reverse EMA Indicator (Ehlers)


Traders' Tip text

Once again, Mr. Ehlers shares an universal oscillator with features like minimum lag and a single input parameter that lets it highlight cycle, momentum, and trend components.


Figure 1. Application of the indicator to SPY in comparison to Ehlers RoofingFilter.

After updating our TASCIndicators library to v2017.08 or later, the ReverseEMA indicator can be found under the TASC Magazine Indicators group. You can plot it on a chart or use it as an entry or exit condition in a Rule-based Strategy without having to program a line of code yourself.

Get the companion Strategy's C# code by downloading it right from Wealth-Lab's "Open Strategy" dialog:

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using TASCIndicators;

namespace WealthLab.Strategies { public class TASC201709 : WealthScript { private StrategyParameter paramAlpha;

public TASC201709() { paramAlpha = CreateParameter("Alpha", 0.1, 0.05, 0.5, 0.05); } protected override void Execute() { var re = ReverseEMA.Series(Close, paramAlpha.Value); ChartPane rePane = CreatePane(30,false,false); HideVolume(); PlotSeries(rePane, re, Color.Red, LineStyle.Solid, 2); //RoofingFilter for comparison var rf = RoofingFilter.Series(Close); ChartPane rfPane = CreatePane(25,false,false); PlotSeries(rfPane,rf,Color.DarkBlue,LineStyle.Solid,1); } } }

Eugene (Gene Geren)
Wealth-Lab team

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.