TradeFab

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.
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 author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Thanks Frank, TradeFab LLC

For purchasing/subscribing scripts: https://tradefab.org/#tradefab_products

Find us @
github.com/TradeFab
twitter.com/TradeFab
tradingview.com/u/TradeFab/

Comments

Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out