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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?