gu5tavo71

Donchian Channels [Gu5]

█ OVERVIEW

I changed the design of the classic indicator "Donchian Channels", for easy reading.

█ CONCEPTS

Donchian Channels is an indicator made up of upper and lower bands around a mid-band or Basis.
The upper band marks the highest price of a security for N periods, while the lower band marks the lowest price of a security for N periods. The area between the upper and lower bands.

In this version, when there are new Higher High (HH), the trend is Bullish and the channel is painted green.
When there are new Lower Low (LL), the trend is Bearish and the channel is painted Red

█ OTHER SECTIONS

A plus in this script: When there are no new highs or new lows, there is no certain trend
The channel is painted yellow
https://www.tradingview.com/x/ddfVW

 • HOW TO USE

Menu "Display"
 • '■ Basis On/Off': Shows the midline Basis
 • '■ Alert On/Off': Shows alerts labels
 • '■ Fill On/Off': Paint the entire channel the color of the trend
 • '■ Bar Color On/Off': Paint the candle the color of the trend
 • '■ Close Alert On/Off': Shows alerts end of trend

 • NOTES:
This code was written using the recommendations from the Pine Script™ User Manual's Style Guide

 • RAMBLINGS:
You can use the "Basis" line as Trailing Stop.

 • THANKS:
Donchian Channels developed by Richard Donchian
and many MANY thanks to @PineCoders

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?