OPEN-SOURCE SCRIPT

[blackcat] L1 Stella Osoba Donchian Channels

Level 1

Background

On Jul, 2023, Stella Osoba proposed a price channel idea in the article of “Using Price Channels”.

Function

In Stella Osoba's article "Using Price Channels" in the 2023 bonus issue, author Stella Osoba describes why many analysis techniques are based on the concept of price channels. In her explanation of the Donchian channels, she explains that they are used to identify the trend and that the prices for the last period are not included in the calculations. I rewrote this idea in the PINE version presented here, allowing the user to optionally include the most recent period. To not include the most recent period, set the IncludeRecentPeriod input to false.

Richard Donchian, a futures trader, created the Donchian Channel as a trend indicator. He was later dubbed the "father of trend following." Several trading methods based on Donchian channels have been established, but day traders can create their own as the indicator is versatile and can be interpreted in different ways. The renowned Turtle Traders also used a variation of the Donchian technique.

The Donchian Channel draws a line between the high and low price of an asset over a period of time, generally using candlesticks as a clock. Candlesticks are chart areas on charts that show the open, high, low, and close price and time frame of a particular stock. They owe their name to their shape. When the indicator is applied to a chart, the lines form a channel around the current price.

When day trading, Donchian channels are useful for highlighting trends and range periods. A third line can be added between the top and bottom lines if required. The upper and lower channel lines are averaged to form this center band. The indicator can be used on all timeframes, including one-minute and five-minute charts (where a bar forms every one or five minutes), and it can be used for forex, stock, futures, and options trading .


Remarks

Feedbacks are appreciated.
Bands and Channels

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
更多:

免責聲明