OPEN-SOURCE SCRIPT

Keltner Fibzones

已更新
Keltner Channel with Fibonacci Zones which uses properties of a Donchian Channel.

This script is a variation of the Fibonacci Zone script and the Donchian Fibonacci Trading Tool which I published earlier. A Keltner Channel gives more useful information to the trader than a Donchian Channel, because it provides a depiction of “normal range” and shows “outside normalcy” situations. Fibonacci lines provide a way to see if the market is trending up or down, while moving inside the channel, because in cases where the Fibonacci lines function as resistance, the trend is down, whereas when these turn out to be supports the trend is up.

Example of use:
If after a rally up - in which candles moves outside the channel - these return into the channel, this means a “new normal”. If the fibs turn out to give support, one may assume that this is a temporary sideways movement in which a flag is formed, after which following rally up may happen. With rally down the opposite is true. Top and bottom situations show a change in the way the market uses the fiblines.

The middle line of the Donchian Channel is used as the middle line of the Keltner channel, in stead of the sma in the classic channel. Default for calculation is 2 x Average True Range above and below this line. Default for the periods of the channel is 20 periods, because this allows the candles to go outside the channel. If you shorten this, all happens inside the channel.
版本注释
Update In the inputs the periods are set to a default of 30, a minimum of 5 and a step of 5, because in practice that works quicker. (I use 30 periods for intraday charts and 20 periods for day and week charts). The width of the channel is set to a defoult of 5, a minimum of 2 and a step of 1, because I use 5 periods on my own charts. I changed the calculation of the Keltner lines (i.e. borders of the channel) so that these have a distance to the high or low fib, as the case may be, of at least one thenth ATR. Thus the width of the blue and red band becomes an indication of momentum (sort of). I changed the color of the low fib line to green, because this fits better to the color patters in the other lines. (btw you can change all colors in the style settings)
版本注释
Update
Added Fat Side Path to the Keltner Fibzones. Default setting is off, if you want to see it, you need to switch in on in the inputs.

Use of this feature:
The Fat Side Path is published as a separate indicator here:
Fat Side Path

Together with the Keltner Fibzones I use it in the intraday charts to contemplate on the short price movements. In the day and weekly charts, which I use for stock picking, I switch it off, because if you flip through fifty or sixty charts you want them simple and clear.

In day trading it might give some help. Full discosure: I tried daytrading, done that, been there, lost a lot of money, wasted a lot of time.

If The Fibzones give more resistance than support, the dominant direction is down, i.e. the upticks are shorter and smaller than the downticks. You can go short if the path widens and when you notice leave high border or hit low border. Exit the position if the path narrows, or you notice leave low border or hit high border.
快照

If the Fibzones give more support than resistance, the dominant direction is up. Then your go long when the path widens and you notice leave low border or hit high border, exit the position if the path narrows or you notice leave high border or hit low border.
快照
Keltner Channels (KC)ralliesrallydownrallyupSupport and ResistanceTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明