PROTECTED SOURCE SCRIPT
Leveraged Chart with Financing, Portfolio DCA & Normalization

Leveraged Investment Simulator with Portfolio DCA & Performance Metrics
Overview:
This indicator helps simulate leveraged investment strategies, incorporating financing costs, Dollar Cost Averaging (DCA), and performance metrics. Ideal for analyzing leveraged growth on price charts or managing portfolios with periodic contributions.
Inputs:
How to Use:
Benefits:
This indicator is perfect for traders and investors looking to optimize leveraged strategies or manage portfolios with DCA contributions effectively.
Overview:
This indicator helps simulate leveraged investment strategies, incorporating financing costs, Dollar Cost Averaging (DCA), and performance metrics. Ideal for analyzing leveraged growth on price charts or managing portfolios with periodic contributions.
- Key Features:
- Dual Simulation Modes:
- Chart Mode: Simulate leveraged growth directly on the price chart.
- Portfolio Mode: Track portfolio performance with periodic DCA contributions. - Leverage & Financing Fees:
- Adjustable leverage multiplier.
- Annual financing fees to model borrowing costs. - Dollar Cost Averaging (DCA):
- Set an initial investment and recurring deposit amounts.
- Choose contribution frequency: Monthly, Quarterly, or Yearly. - Performance Metrics:
- Sharpe Ratio: Evaluate risk-adjusted returns.
- Sortino Ratio: Assess downside risk-adjusted performance.
- Maximum Drawdown: Measure the largest decline from a peak. - Customizable Labels:
- Enable or disable specific sections, such as portfolio details and risk metrics.
- Dual Simulation Modes:
Inputs:
- Symbol selection (default: AAPL).
- Data timeframe (e.g., daily, weekly, monthly).
- Leverage multiplier and annual financing fees.
- Portfolio options: Initial investment, deposit amounts, and frequencies.
- Performance analysis options, including a customizable risk-free rate for Sharpe/Sortino ratios.
- Toggleable label sections for focused analysis.
How to Use:
- Add the indicator to your chart.
- Configure the inputs to match your strategy (e.g., leverage factor, financing rates, DCA settings).
- Toggle on/off the label sections to display relevant metrics.
- Analyze the results:
- Chart Mode: Observe leveraged growth on the price chart.
- Portfolio Mode: Track portfolio growth, contributions, and performance metrics.
- Chart Mode: Observe leveraged growth on the price chart.
Benefits:
- Simulate realistic scenarios with leverage, financing costs, and periodic investments.
- Assess performance with advanced metrics like Sharpe and Sortino Ratios.
- Identify risk with Maximum Drawdown analysis.
- Customize your view for clarity and focus.
This indicator is perfect for traders and investors looking to optimize leveraged strategies or manage portfolios with DCA contributions effectively.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。