nickbarcomb

Take Profit

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!
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом, вы можете свободно им пользоваться. Можно добавить его в избранное и использовать на графике. Вы не можете просматривать или менять его исходный код.
Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?