OPEN-SOURCE SCRIPT
Cập nhật

Donchian Channels Strength

5 264
TL;DR - A different approach calculating strength based on Donchain channels

My approach calculating strength by using the difference between price and donchain average. It is possible to use the highest/lowest value of a given source (like close) or to use the highest high/lowest low (by using the option 'include wicks') for the strength calculation

I added multiple moving averages which can be used in the calculations incl. SMMA (RMA) which is used in RSI calculation and works best for me.

Usage is similar to RSI: DC Strength oscillates between 0 and 100. Low values (<20) indicate a bearish situation while high values (>80) indicate bullish ones. Center line (50) crossings can also indicate a possible trend change.

Phát hành các Ghi chú

  • Added Alerts -> crossover/crossunder 50, entered/left overbought zone, entered/left oversold zone
  • Overbought and oversold zones can be set via the settings menu
Phát hành các Ghi chú
Update:
- Converted to Pine Script v6
- Added 'Percent' display type: This simply outputs the current price (within the Donchian channel) as percent value
- Added 'Bull & Bear' display type: Provides a visual relation of the highest and lowest values of the channel

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.