OPEN-SOURCE SCRIPT
업데이트됨 [Kpt-Ahab] Savings Plan IND

[Kpt-Ahab] Savings Plan Indicator
This indicator simulates and documents a complete savings plan directly on the TradingView chart. Deposits, dividends, purchases, sales, and costs are processed through a shared savings-plan account, making the cash balance and cash flow transparent and traceable.
Features:
- Initial capital with first purchase
- Regular deposits with optional periodic increases
- Fractional or whole units
- Automatic use of available cash when the regular DCA budget is insufficient to purchase the minimum tradable quantity
- Chart warning when a DCA purchase cannot be executed
- Four manual or adaptive DIP-buy levels
- Automatic profiles: Defensive, Balanced, and Aggressive
- Manual or automatic profit taking with trailing and cash rebalancing
- Minimum price increase required between two TP sales
- Transactions at the confirmed bar close or at the bar open
- Dividend processing
- Transaction, broker, custody, and dividend costs
- TradingView alerts for DCA, DIP, and TP events
- Detailed purchase and sale labels
- Marking of the highest profit point and the largest portfolio drawdown
- Full statistics table or compact mobile view
- Tables, labels, and alert messages in English, German, or French
The statistics include, among other values, deposits, cash balance, units held, cost basis, market value, portfolio value, realized and unrealized results, total costs, drawdowns, cumulative return, and the annualized return (XIRR).
Mobile Table
A reduced mobile view can be enabled for smaller screens. It displays the most important portfolio, return, drawdown, cost, and transaction information using shorter labels and smaller text.
Transaction and Alert Notes
With "Confirmed close", signals are triggered only after the bar has been confirmed at its closing price. On daily charts, the exchange may already be closed by the time the signal becomes available.
With "Bar open", the evaluation is performed at the opening price of the new bar. The Auto model uses only confirmed data from the previous bar. The opening price of the new bar is not necessarily identical to the previous closing price, for example when a price gap occurs.
The indicator does not place real orders. Automatic settings and historical results do not guarantee future performance and do not constitute investment advice.
This indicator simulates and documents a complete savings plan directly on the TradingView chart. Deposits, dividends, purchases, sales, and costs are processed through a shared savings-plan account, making the cash balance and cash flow transparent and traceable.
Features:
- Initial capital with first purchase
- Regular deposits with optional periodic increases
- Fractional or whole units
- Automatic use of available cash when the regular DCA budget is insufficient to purchase the minimum tradable quantity
- Chart warning when a DCA purchase cannot be executed
- Four manual or adaptive DIP-buy levels
- Automatic profiles: Defensive, Balanced, and Aggressive
- Manual or automatic profit taking with trailing and cash rebalancing
- Minimum price increase required between two TP sales
- Transactions at the confirmed bar close or at the bar open
- Dividend processing
- Transaction, broker, custody, and dividend costs
- TradingView alerts for DCA, DIP, and TP events
- Detailed purchase and sale labels
- Marking of the highest profit point and the largest portfolio drawdown
- Full statistics table or compact mobile view
- Tables, labels, and alert messages in English, German, or French
The statistics include, among other values, deposits, cash balance, units held, cost basis, market value, portfolio value, realized and unrealized results, total costs, drawdowns, cumulative return, and the annualized return (XIRR).
Mobile Table
A reduced mobile view can be enabled for smaller screens. It displays the most important portfolio, return, drawdown, cost, and transaction information using shorter labels and smaller text.
Transaction and Alert Notes
With "Confirmed close", signals are triggered only after the bar has been confirmed at its closing price. On daily charts, the exchange may already be closed by the time the signal becomes available.
With "Bar open", the evaluation is performed at the opening price of the new bar. The Auto model uses only confirmed data from the previous bar. The opening price of the new bar is not necessarily identical to the previous closing price, for example when a price gap occurs.
The indicator does not place real orders. Automatic settings and historical results do not guarantee future performance and do not constitute investment advice.
릴리즈 노트
[Kpt-Ahab] Savings Plan Indicator
Dieser Indikator simuliert und dokumentiert einen vollständigen Sparplan direkt im TradingView-Chart. Einzahlungen, Dividenden, Käufe, Verkäufe und Kosten werden über ein gemeinsames Sparplankonto verbucht, sodass Cashbestand und Geldfluss nachvollziehbar bleiben.
Funktionen:
- Startkapital mit Erstkauf
- regelmäßige Einzahlungen mit optionaler Erhöhung
- Bruchanteile oder ganze Anteile
- automatische Verwendung von verfügbarem Cash, wenn das reguläre DCA-Budget nicht für die Mindestmenge ausreicht
- Chartwarnung bei nicht ausführbarem DCA-Kauf
- vier manuelle oder adaptive DIP-Kaufstufen
- automatische Profile: Defensive, Balanced und Aggressive
- manuelle oder automatische Gewinnmitnahmen mit Trailing und Cash-Rebalancing
- Mindestkursanstieg zwischen zwei TP-Verkäufen
- Transaktionen am bestätigten Schlusskurs oder zur Kerzeneröffnung
- Dividendenverarbeitung
- Transaktions-, Broker-, Depot- und Dividendenkosten
- TradingView-Alarme für DCA-, DIP- und TP-Ereignisse
- detaillierte Kauf- und Verkaufslabels
- Markierung des höchsten Gewinns und des größten Portfolio-Drawdowns
- vollständige Statistik oder kompakte Mobilansicht
- Tabellen, Labels und Alarmmeldungen auf Englisch, Deutsch oder Französisch
Die Statistik zeigt unter anderem Einzahlungen, Cashbestand, gehaltene Anteile, Kostenbasis, Marktwert, Portfoliowert, realisierte und unrealisierte Ergebnisse, Gesamtkosten, Drawdowns, kumulative Rendite sowie die annualisierte Jahresrendite (XIRR).
Mobile Tabelle
Für kleinere Bildschirme kann eine reduzierte Mobilansicht aktiviert werden. Sie zeigt die wichtigsten Portfolio-, Rendite-, Drawdown-, Kosten- und Transaktionsdaten mit kürzeren Bezeichnungen und kleinerer Schrift.
Hinweis zu Transaktionen und Alarmen
Bei "Confirmed close" werden Signale erst nach dem bestätigten Kerzenschluss ausgelöst. Bei Tageskerzen kann die Börse zu diesem Zeitpunkt bereits geschlossen sein.
Bei "Bar open" erfolgt die Auswertung zum Eröffnungskurs der neuen Kerze. Das Auto-Modell verwendet dabei ausschließlich bestätigte Daten der vorherigen Kerze. Der Eröffnungskurs der neuen Kerze ist nicht zwingend identisch mit dem vorherigen Schlusskurs, beispielsweise bei Kurslücken.
Der Indikator führt keine echten Orders aus. Automatische Einstellungen und historische Ergebnisse sind keine Garantie für zukünftige Entwicklungen und stellen keine Anlageberatung dar.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.