OPEN-SOURCE SCRIPT
已更新

TFs Golden Cross - Status Box

7 892
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.
版本注释
Version 1.3
  • added entry price to status box
  • uses new label style to show label right of the current price
版本注释
Version 1.4
  • added manual input "My Input" which is shown in status box (label)
版本注释
Version 1.5
  • change label style
  • show PnL for manual input; pnl=close/InMyPrice in %

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。