OPEN-SOURCE SCRIPT

CAGR - Candle based BackTester

The "CAGR - Candle based BackTester" is a tool for traders and investors seeking precise insights into individual candle performance!

Do you want to backtest based on candles and understand their CAGR? Curious about the average CAGR of all candles? Interested in comparing how an individual candle performs against others? Then this tool is your go-to solution.

How It Works:

Candle Selection: Specify a start date, and watch as the script tracks investments from that point forward.

Dynamic Calculations: Experience real-time CAGR calculations that adapt as market conditions evolve.

CAGR Display: At the final candle, gain insights into individual CAGR, average CAGR of all candles, alpha (difference), and outperformance percentage—all conveniently displayed for informed decision-making.

Key Features:

Accurate Candle-based CAGR Calculation: Gain clarity on investment performance with precise CAGR metrics.

Lumpsum Investment Tracking: Track lumpsum investments seamlessly with detailed share and investment calculations.

Outperformance Metrics: Measure how your investment performs relative to others with dedicated outperformance metrics.

User-Friendly Visualization: Access intuitive charts and visuals that simplify complex financial data.

Portfolio management

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer