OPEN-SOURCE SCRIPT

Variable Keltner Channel For DCA

Actualizado
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.
Notas de prensa
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!
Notas de prensa
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)

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad