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 a publication is governed by House Rules. You can favorite it to use it on a chart.
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.
Want to use this script on a chart?