OPEN-SOURCE SCRIPT

Displaced Moving Average Channel (DMA)

Updated
What is This?

The Displaced Moving Average Channel (DMA) indicator is a combination of two moving averages calculated on the high and low of a set time period back which are displaced forward or backward with the center highlighted as a central channel.


What Information Can I Get Out of It?

This indicator can be used as a support or resistance as some moving averages are typically used as well as a tiny measure of recent volatility by looking at the spread between the top and bottom moving averages.


Where Did This Idea Come From?

I did not come up with the concept of this indicator since I was inspired to use this as a setup/trigger indicator in a potential trading strategy as seen in this whitepaper.
Release Notes
Changed the default period to the same period that Philip Erlanger uses
Release Notes
Changed chart (no updates to the code)
Simple Moving Average (SMA)Support and ResistanceVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer