OPEN-SOURCE SCRIPT

Profit/Loss Label

מעודכן
Once I entered a trade, I always wanted to know quickly if I am in a profitable position or losing NOW?

Here's the label to do the work for me, and if you like it, please give it a thumb up.

*** There's a setting to change your trade type to LONG or SHORT with a commission rate.

*** Color setups:

- If it's green: profitable position, including the pay for comission

- If it's orange: moving in favorite direction, but still a losing position due to the comission

- If it's red: losing position moving in the opposite direction
הערות שחרור
Reformat text.
הערות שחרור
Format month's high and low as well.
הערות שחרור
Add option to use/not use Rounding.
הערות שחרור
Update label distance to 12 bars only.
הערות שחרור
Update chart.
הערות שחרור
- Add bought amount and profit amount.
- Draw bought price on chart.
הערות שחרור
Update UI.
הערות שחרור
- Added leverage to calculate margin profit.
- Updated ticker info and UI.
profitandlossprofitorlossVolatility

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

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

כתב ויתור