PROTECTED SOURCE SCRIPT
[DEM] Donchian Moving Average

[DEM] Donchian Moving Average is designed to create a smoothed trend-following indicator by combining Donchian Channel methodology with moving average smoothing to reduce noise and provide clearer directional signals. The indicator calculates the midpoint of the highest high and lowest low over a specified period (default 20 bars), then applies additional smoothing using an RMA (default 10 periods) to create a more stable trend line. The resulting moving average changes color from blue to red based on its relationship to its own short-term smoothed version (5-period RMA), with blue indicating upward momentum and red indicating downward momentum, while also coloring the price bars to match the trend direction for enhanced visual clarity of the overall market bias.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.