OPEN-SOURCE SCRIPT

Moving Average Color Direction Detection

By Dreadblitz
Updated
Moving Average Color Direction Detection, possibility to configure:


- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, TEMA, HULLMA, ZEMA, TMA, SSMA
- Lenght
- Source
- Colour direction


snapshot
Release Notes
Alert Change Direction MA
Release Notes
Message Alert
Release Notes
IMMEDIATE REACTION OPTION (Disabled by default): This mode reacts immediately, does not have filtering, can generate false signals in the change of direction but can anticipate the change more quickly.
Release Notes
Remove the immediate reaction, and now you can configure the reaction to your need, by default it is 3 you get a very good result and filtered, 1 would be the most violent reaction that quickly detects a change of direction but gets more amount of false changes of direction, Try it and configure it to your need.
avergechangedirectionmediamediamovilMoving Averagestrend

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?

Disclaimer