OPEN-SOURCE SCRIPT
Compounding Growth Tracker (Daily)

📊 Compounding Growth Tracker (Daily) — Full Description
🧾 Overview
The Compounding Growth Tracker (Daily) is a Pine Script v6 TradingView indicator designed to visualize and track the exponential growth of a starting capital through daily compounding returns over a 12-month trading period. It combines a live growth curve plot, a target profit line, and an interactive weekly breakdown table — all configurable through simple input parameters.
🎯 Purpose
This tool is built for traders who operate with a fixed daily profit target (e.g., 10% per day) and want to:
📈 See exactly how their account compounds day by day
🗓️ Track progress week by week within any selected month
🏁 Know when they'll hit a financial target (e.g., $1,000,000)
🧠 Stay motivated and disciplined with a visual growth roadmap
⚙️ Input Parameters
Parameter Default Description
Starting Capital ($) $4,000 The initial account balance to compound from
Daily Interest Rate (%) 10% The fixed daily return percentage applied each trading day
Target Amount ($) $1,000,000 The profit goal displayed as a dashed horizontal line
Show Month (1–12) 1 Selects which month's weekly breakdown to display in the table
📐 How It Works
The core formula driving the entire indicator is the compound interest formula:
Future Value = P × (1 + r)ⁿ
Where:
P = Starting Capital
r = Daily Rate (as a decimal)
n = Number of trading days elapsed
The indicator assumes:
5 trading days per week
4 weeks per month
20 trading days per month
240 trading days across 12 months
📊 Visual Components
1. 📈 Growth Curve (Lime Line)
Plots the compounded account value across the first 240 bars of the chart
Grows exponentially, visually demonstrating the power of compounding
Color: Bright Lime Green for high visibility
2. 🎯 Target Line (Yellow Dashed)
A horizontal dashed line marking your financial target
Serves as a constant visual reminder of the end goal
Labeled with a 🎯 emoji for instant recognition
3. 📋 Weekly Breakdown Table (Top Right)
Displayed in a 7-column × 6-row table in the top-right corner of the chart:
Column Content
Week Week number (1–4)
Day 1–2 Balance after Day 1 and Day 2 (Aqua)
Day 3–4 Balance after Day 3 and Day 4 (Lime)
Day 5 End-of-week balance (Yellow)
Wk End Final balance for the week (Yellow)
The TOTAL row at the bottom shows the month-end balance and the growth multiplier (e.g., 6.7×)
Color-coded rows alternate between two shades of blue for readability
The selected month is displayed in the header cell
🎨 Color Coding Guide
Color Meaning
🟢 Lime Growth curve / Mid-week values (Day 3–4)
🔵 Aqua Early-week values (Day 1–2)
🟡 Yellow End-of-week values / Growth multiplier
🟣 Fuchsia Month-end total balance
🔴 Yellow Dashed Target amount line
🟦 Navy Table header background
🟣 Purple Monthly total row background
💡 Use Case Example
Starting with $4,000 at 10% daily over 20 trading days (Month 1):
Day Balance
Day 1 $4,400
Day 5 $6,442
Day 10 $10,375
Day 20 $26,909
Month 6 End ~$304,000
Month 12 End ~$2.2 Billion
⚠️ Important Notes
This indicator is purely mathematical — it does not use real market data for calculations
The growth curve is mapped to bar index, not calendar dates, so it aligns to the first 240 bars on any chart
Best applied on a custom/synthetic ticker or used purely as a planning and motivation tool
A 10% daily return is an extremely aggressive assumption — use responsibly for goal visualization only
🔮 Ideal For
💹 Prop firm traders building a scaling plan
🤖 Algorithmic traders projecting bot performance
📚 Trading educators demonstrating compound growth
🧮 Financial planners visualizing aggressive growth scenarios
🎯 Goal-driven traders who need a daily visual target to stay on track
🧾 Overview
The Compounding Growth Tracker (Daily) is a Pine Script v6 TradingView indicator designed to visualize and track the exponential growth of a starting capital through daily compounding returns over a 12-month trading period. It combines a live growth curve plot, a target profit line, and an interactive weekly breakdown table — all configurable through simple input parameters.
🎯 Purpose
This tool is built for traders who operate with a fixed daily profit target (e.g., 10% per day) and want to:
📈 See exactly how their account compounds day by day
🗓️ Track progress week by week within any selected month
🏁 Know when they'll hit a financial target (e.g., $1,000,000)
🧠 Stay motivated and disciplined with a visual growth roadmap
⚙️ Input Parameters
Parameter Default Description
Starting Capital ($) $4,000 The initial account balance to compound from
Daily Interest Rate (%) 10% The fixed daily return percentage applied each trading day
Target Amount ($) $1,000,000 The profit goal displayed as a dashed horizontal line
Show Month (1–12) 1 Selects which month's weekly breakdown to display in the table
📐 How It Works
The core formula driving the entire indicator is the compound interest formula:
Future Value = P × (1 + r)ⁿ
Where:
P = Starting Capital
r = Daily Rate (as a decimal)
n = Number of trading days elapsed
The indicator assumes:
5 trading days per week
4 weeks per month
20 trading days per month
240 trading days across 12 months
📊 Visual Components
1. 📈 Growth Curve (Lime Line)
Plots the compounded account value across the first 240 bars of the chart
Grows exponentially, visually demonstrating the power of compounding
Color: Bright Lime Green for high visibility
2. 🎯 Target Line (Yellow Dashed)
A horizontal dashed line marking your financial target
Serves as a constant visual reminder of the end goal
Labeled with a 🎯 emoji for instant recognition
3. 📋 Weekly Breakdown Table (Top Right)
Displayed in a 7-column × 6-row table in the top-right corner of the chart:
Column Content
Week Week number (1–4)
Day 1–2 Balance after Day 1 and Day 2 (Aqua)
Day 3–4 Balance after Day 3 and Day 4 (Lime)
Day 5 End-of-week balance (Yellow)
Wk End Final balance for the week (Yellow)
The TOTAL row at the bottom shows the month-end balance and the growth multiplier (e.g., 6.7×)
Color-coded rows alternate between two shades of blue for readability
The selected month is displayed in the header cell
🎨 Color Coding Guide
Color Meaning
🟢 Lime Growth curve / Mid-week values (Day 3–4)
🔵 Aqua Early-week values (Day 1–2)
🟡 Yellow End-of-week values / Growth multiplier
🟣 Fuchsia Month-end total balance
🔴 Yellow Dashed Target amount line
🟦 Navy Table header background
🟣 Purple Monthly total row background
💡 Use Case Example
Starting with $4,000 at 10% daily over 20 trading days (Month 1):
Day Balance
Day 1 $4,400
Day 5 $6,442
Day 10 $10,375
Day 20 $26,909
Month 6 End ~$304,000
Month 12 End ~$2.2 Billion
⚠️ Important Notes
This indicator is purely mathematical — it does not use real market data for calculations
The growth curve is mapped to bar index, not calendar dates, so it aligns to the first 240 bars on any chart
Best applied on a custom/synthetic ticker or used purely as a planning and motivation tool
A 10% daily return is an extremely aggressive assumption — use responsibly for goal visualization only
🔮 Ideal For
💹 Prop firm traders building a scaling plan
🤖 Algorithmic traders projecting bot performance
📚 Trading educators demonstrating compound growth
🧮 Financial planners visualizing aggressive growth scenarios
🎯 Goal-driven traders who need a daily visual target to stay on track
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。