OPEN-SOURCE SCRIPT
Updated TFs Golden Cross - Status Box

This simple strategy demonstrates the use of Pine Script version 4 "label" feature to show status box.
This box can display anything, in this case it shows current market position, current profit and close price. It renders the box in green if profit is positive, red if negative and blue if neutral.
This box can display anything, in this case it shows current market position, current profit and close price. It renders the box in green if profit is positive, red if negative and blue if neutral.
Release Notes
Version 1.3- added entry price to status box
- uses new label style to show label right of the current price
Release Notes
Version 1.4- added manual input "My Input" which is shown in status box (label)
Release Notes
Version 1.5- change label style
- show PnL for manual input; pnl=close/InMyPrice in %
Open-source script
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.
Disclaimer
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.
Open-source script
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.
Disclaimer
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.