BOB30130

Value of my asset

Indicator Name: Value of my asset

This indicator displays the total value of the asset you hold on a chart. It is particularly useful for tracking the value of your position in real time directly on the chart.

How to use it:

Quantity of the asset in possession: Enter the quantity of the asset you currently hold. By default, this value is 0.

Text color: Choose the color of the text that will be displayed on the chart. By default, this color is white.

Background color: Choose the background color of the label that will be displayed on the chart. By default, this color is blue.

Calculation of the value to display: The value to display is calculated by multiplying the closing value (close) by the quantity of the asset you hold (quantity). This value represents the total value of your position.

Display of the label: A label is displayed on the chart with the symbol of the asset, the quantity you hold, and the total value of your position. This label is updated with each new bar.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?