OPEN-SOURCE SCRIPT
업데이트됨 BTC Daily DCA Calculator

The BTC Daily DCA Calculator is an indicator that calculates how much Bitcoin (BTC) you would own today by investing a fixed dollar amount daily (Dollar-Cost Averaging) over a user-defined period. Simply input your start date, end date, and daily investment amount, and the indicator will display a table on the last candle showing your total BTC, total invested, portfolio value, and unrealized yield (in USD and percentage).
Features
How to Use
Settings
Notes
Features
- Customizable Inputs: Set the start date, end date, and daily dollar amount to simulate your DCA strategy.
- Results Table: Displays on the last candle (top-right of the chart) with:
- Total BTC: The accumulated Bitcoin from daily purchases.
- Total Invested ($): The total dollars invested.
- Portfolio Value ($): The current value of your BTC holdings.
- Unrealized Yield ($): Your profit/loss in USD.
- Unrealized Yield (%): Your profit/loss as a percentage.
- Visual Markers: Green triangles below the chart mark each daily investment.
- Overlay on Chart: The table and markers appear directly on the BTCUSD price chart for easy reference.
- Daily Timeframe: Designed for Daily (1D) charts to ensure accurate calculations.
How to Use
- Add the Indicator: Apply the indicator to a BTCUSD chart (e.g., Coinbase:BTCUSD, Binance:BTCUSDT).
- Set Daily Timeframe: Ensure your chart is on the Daily (1D) timeframe, or the script will display an error.
- Configure Inputs: Open the indicator’s Settings > Inputs tab and set:
- Start Date: When to begin the DCA strategy (e.g., 2024-01-01).
- End Date: When to end the strategy (e.g., 2025-04-27 or earlier).
- Daily Investment ($): The fixed dollar amount to invest daily (e.g., $100).
- View Results: Scroll to the last candle in your date range to see the results table in the top-right corner of the chart. Green triangles below the bars indicate investment days.
Settings
- Start Date: Choose the start date for your DCA strategy (default: 2024-01-01).
- End Date: Choose the end date (default: 2025-04-27). Must be after the start date and within available chart data.
- Daily Investment ($): Set the daily investment amount (default: $100). Minimum is $0.01.
Notes
- Timeframe: The indicator requires a Daily (1D) chart. Other timeframes will trigger an error.
- Data: Ensure your BTCUSD chart has historical data for the selected date range. Use reliable pairs like Coinbase:BTCUSD or Binance:BTCUSDT.
- Limitations: Does not account for trading fees or slippage. Future dates (beyond the current date) will not display results.
- Performance: Works best with historical data. Free TradingView accounts may have limited historical data; consider premium for longer ranges.
릴리즈 노트
Update chart오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.