Daveatt

Investing Performance with vs without fees

Hello traders,

I had a chat with a friend recently who's using a fund manager services to invest for him in some US-based ETFs tracking the US indices.

I showed him using an online tool that those 2% annual fees he's paying to his fund manager are eating a lot of his profit overtime.

As I had some time, I decided to code this simulator in Pinescript because .... why not :)
@RicardoSantos already did that Compound Interest function (www.tradingview.com/...ionCompoundInterest/)
I added the n parameter being the number of times the interest is compounded per unit of time

Compound interest is calculated using the following formula

CI = P*(1 + R/n) (n*t) – P

Here,

  • P is the principal amount.
  • R is the annual interest rate.
  • t is the time the money is invested or borrowed for.
  • n is the number of times that interest is compounded per unit t, for example if interest is compounded monthly and t is in years then the value of n would be 12.
    If interest is compounded quarterly and t is in years then the value of n would be 4.

For now, the script only works on a yearly chart - I might update it later making it compatible with other chart timeframes - assuming there is some demand for it
If there is, let me know in the comments down below

All the best
Dave

👨‍💻 Need help you with your FTMO/TopStep verif?

⭐️ Listed as TradingView Trusted Pine Programmer

📧 dave@best-trading-indicator

Telegram: Daveatt

⏩ Course: best-trading-indicator.com

Twitter: twitter.com/bti_trading
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?