OPEN-SOURCE SCRIPT
Güncellendi 80-20_DCA-Alert

The idea for this indicator comes from the book “$1,000 To $1,000,000 Proven Strategies for Triple Leveraged ETF Success” by B.D. Collins. In the book, he describes a charming 80/20 DCA strategy with a stronger price weighting when prices fall in order to trade leveraged ETFs. This indicator is applied to the chart of the unleveraged (!) underlying or index of the ETF. You can then use the alarm function to receive a (daily) update on how much of the cash should currently be invested into the corresponding leveraged ETF. Depending on whether the price is above or below the freely definable levels, a different weighting is recommended. The default settings are based on B.D. Collins' original strategy and are as follows:
At the beginning of each quarter, if the price of the unleveraged underlying (index) of the ETF
- is between 0 and 15% below the ATH, 20% of the saved cash balance is invested
- between 16 and 25% below the ATH, 40% of the saved cash balance is invested
- between 26 and 35% below the ATH, 60% of the saved cash balance is invested
- greater than 35% below the ATH, 80% of the saved cash balance is invested
More details in his book.
This is not financial advice. Trading with leveraged ETFs is very risky and can lead to extreme losses
Good Luck and may the force be with us
Sürüm Notları
Changes:- Removed all prev_ variables - no longer needed since it should alert every day
- Removed not prev_above_level1 conditions - faulty logic which was preventing daily alerts
- Added barstate.isconfirmed - ensures alerts only trigger after the daily candle is confirmed/closed
- Simplified logic - now simply checks if daily timeframe AND candle is confirmed AND price is in the zone
Sürüm Notları
Changes:- Added Alert frequency option: Choose between "Daily" or "Zone Change Only"
**"Daily"**: Alerts every day when price is in each zone
**"Zone Change Only"**: Alerts only when entering a new zone (default)
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.