OPEN-SOURCE SCRIPT
Diupdate 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
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
Catatan Rilis
Reformat text.Catatan Rilis
Format month's high and low as well.Catatan Rilis
Add option to use/not use Rounding.Catatan Rilis
Update label distance to 12 bars only.Catatan Rilis
Update chart.Catatan Rilis
- Add bought amount and profit amount.- Draw bought price on chart.
Catatan Rilis
Update UI.Catatan Rilis
- Added leverage to calculate margin profit.- Updated ticker info and UI.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.