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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?