Log in to see Cloud of Tags

Wealth-Lab Wiki

TASC 2018-07 | The Deviation-Scaled Moving Average (Ehlers)

RSS

Traders' Tip text

The DSMA by John Ehlers is an adaptive moving average that rapidly adapts to volatility in price movement. We're going to illustrate in few easy steps how to set up a DSMA-based trading system in Wealth-Lab without coding. Before anything else, install (or update) the TASCIndicators library from our website wealth-lab.com.

Although it's best suited for trend-following, let's make our entry and exit counter-trend for kicks. The idea is to buy at next open when today’s closing price has crossed a percentage below the 40-period DSMA. The opposite applies to exits but the percent can of course be asymmetric.

Step 1. As a groundwork, open a new Rule-based Strategy and drag "Buy at market" and "Sell at market" from "Entries and Exits" tab.

Step 2. From "Conditions" tab, expand "General indicators" group. Drag "Price crosses X% below indicator" and drop it on your entry rule created in Step 1. Do the same for "Price crosses X% above indicator" and the exit.

Step 3. Notice "Parameters" block below your added rules. Here you can change rule parameters. Click on "Indicator" and choose "DSMA" for both the entry and exit rules.

Image

Figure 1. Here's how to choose DSMA as the indicator.

Optionally, click the icon that appears next to the indicator to expose its "parameter slider". For example, this makes possible to change DSMA's responsiveness by varyings its lookback period. As you keep dragging the slider at the bottom left of the screen, the changed trading system is re-executed automatically.

Image

Figure 2. Example trades on AAPL (Apple Inc).

Code

None

Eugene (Gene Geren)
Wealth-Lab team
www.wealth-lab.com

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.