OPEN-SOURCE SCRIPT
RedK_Fibonacci on Doncian (RedK_FibDC_v1)

this is a quick script that gives the ability to plot a simple Doncian Channel with optional Fibonacci levels calculated against the DC channel breadth.
a Doncian channel is simply a channel that represents the highest high and lowest low of the price for a certain period (number of bars) -- the concept of watching these extreme values is the basis of many other technical indicators in chart analysis.
A script like this may come useful for setting entry and exit levels and can be used to plot the DC & Fib levels for a higher resolution than the chart - in the example, we're looking at the DC & its Fib levels for the daily resolution on a 30-min chart.
there are 3 adjustable levels that are set by default to 0.368, 0.618, and 1.272 -- and they can be set to any other levels we need to monitor - not necessarily Fib-based at all - say to determine a possible breakout or breakdown... etc
this script makes use of the "resolution" and "inline / group" features (powers) of Pine :)
a Doncian channel is simply a channel that represents the highest high and lowest low of the price for a certain period (number of bars) -- the concept of watching these extreme values is the basis of many other technical indicators in chart analysis.
A script like this may come useful for setting entry and exit levels and can be used to plot the DC & Fib levels for a higher resolution than the chart - in the example, we're looking at the DC & its Fib levels for the daily resolution on a 30-min chart.
there are 3 adjustable levels that are set by default to 0.368, 0.618, and 1.272 -- and they can be set to any other levels we need to monitor - not necessarily Fib-based at all - say to determine a possible breakout or breakdown... etc
this script makes use of the "resolution" and "inline / group" features (powers) of Pine :)
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
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.