OPEN-SOURCE SCRIPT

EntryPrice Gain&Loss Indicator

Mis à jour
This indicator takes (1) an entry price or average position price and (2) position size (denominator) to calculate current gain or loss and returns those as well as the position change in percent. It will also draw into the Chart and show relevant data in a table.

It is mainly supposed to help tracking an (average) spot position easily.

It is recommended to switch it to invisible when switching to other charts.
You can also use several instances of the indicator to track your positions in different assets.

snapshot

Features:
- table position and text size can be adjusted
- colors can be changed
(recommending 25% opacity for plot backgrounds)
- several instances possible
(recommended to tuen indicator invisible when switching to other charts or analyzing

Version 1.0
Notes de version
updated indicator with correct code
Portfolio managementpositionstatisticstracking

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité