PROTECTED SOURCE SCRIPT

Take Profit

10 280
This simple indicator shows gains/ losses and profit taking opportunities for a strategy that consists of regularly investing a static sum to an asset (ex: adding $25 to BTC every week).

White = Investment (new money)
Green = Take-profit
Purple = Total Gains / Losses on + investment
Blue = Total Gains / Losses on + investment - take-profit
Red = Total Gains / Losses on - investment
Orange = Total Gains / Losses on - investment - take-profit

RedBG = Orange < 0
GreyBG = Weekend

Settings:
- Amount to invest each week
- Day of the week to invest (1 = Sunday, time is defaulted to 12:01 AM of that day)
- Amount at which to take profit
- Start time (This is calculated in weeks since UNIX Epoch; increasing the number by 1 means moving the start time forward 1 week)

Enjoy!

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.