OPEN-SOURCE SCRIPT

Variable Keltner Channel For DCA

アップデート済
Hello Everyone,

Sharing the indicator that I'm using for Dollar Cost Averaging into the stocks & ETFs in my portfolio.
Instead of entering regularly each month, entry only happens when the share price is below the indicator.

This indicator is based on Exponential Moving Average & Keltner Channel.
When 21 EMA is above 34 EMA, the line is 1 ATR below the 21 EMA. (green color)
When 21 EMA is below 34 EMA, the line is 2 ATR below the 21 EMA. (red color)

Exploring ways to refine this further, especially during sideways or transition to downtrend, do comment if you have any idea.
This strategy itself was based on SMA 50 strategy for DCA.
リリースノート
Hello Everyone,

Trend is now determined by 8 EMA, 21 EMA, & 55 EMA.
To respond quicker to change in trend and better during sustained downtrends.

When 8 EMA is above 21 EMA, and 21 EMA is above 55 EMA, line is 1 ATR below 21 EMA (green).
When either 8 EMA is below 21 EMA, or 21 EMA is below 55 EMA, line is 2 ATR below 21 EMA (orange).
When both 8 EMA is below 21 EMA, and 21 EMA is below 55 EMA, line is 2.5 ATR below 21 EMA (red).

As always, do share if you have any idea for improvements!
リリースノート
Hello Everyone,

Update to the DCA line as I find myself entering at the 21 EMA during uptrends.

When 8 EMA is above 21 EMA, and 21 EMA is above 55 EMA, line is at 21 EMA (green).
When either 8 EMA is below 21 EMA, or 21 EMA is below 55 EMA, line is 1.25 ATR below 21 EMA (orange).
When both 8 EMA is below 21 EMA, and 21 EMA is below 55 EMA, line is 2.5 ATR below 21 EMA (red).
Keltner Channels (KC)

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

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

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

免責事項