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
และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ