PROTECTED SOURCE SCRIPT

[DEM] Donchian Moving Average

21
[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.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.