esoliman2010

Entry Percent: Essam

esoliman2010 Uppdaterad   
This Pine Script code is designed to perform the task of computing and showcasing the profit percentage, profit value, and the duration for which a specific asset is held, all in real-time. The script effectively leverages the built-in resources to provide a seamless and robust experience, as it presents the calculated figures in an easily readable format on the chart, without causing any lag or disruptions to the chart.
Versionsinformation:
Updated total amount calculation and font size
Versionsinformation:
Updated incremental step size
Versionsinformation:
Updated the calculation so that the amount in specified in the number of units purchased from the given asset rather than the total value in USD
Versionsinformation:
Fixed calculation bug and rounded total money value to 2 digits
Versionsinformation:
Fixed wrong calculation in profit USD
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?