OPEN-SOURCE SCRIPT

Original Keltner with Support And Resistance

アップデート済
This indicator is based on the original Keltner Channels using typical price and calculating the 10 period average of high - low

Typical price = (high + low + close)/3

In this case, I've taken Typical price as (open + high + low + close)/4 on the advice of John Bollinger from his book Bollinger on Bollinger Bands.

Buy Line = 10 Period Typical Price Average + 10 Period Average of (High - Low)
Sell Line = 10 Period Typical Price Average - 10 Period Average of (High - Low)

This is the basis for the indicator. I've added the highest of the Buy Line and lowest of the Sell Line for the same period which acts as Support and Resistance.

If price is trending below the Lowest of Sell Line, take only sell trades and the Lowest Line acts as resistance.

If price is trending above the Highest of Buy Line, take only buy trades and the Highest Line acts as support.
リリースノート
Removed the bool argument since it doesn't get with the indicator's purpose.
Bands and Channelskeltnerchannel

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項