OVARIDE

Percentage Change Tool

OVARIDE Mis à jour   
Here is a script that will allow you to see the percentage change from any entry to the current price. You will manually enter the price you bought at in the indicator price menu. The indicator will calculate and display the percentage difference(change) between the buy price and current price, in REAL TIME.

See Screenshot (TOP_RIGHT) for indicator.

Double Click on the Yellow Block and insert your entry price. Click OK. Indicator will display percentage.
Notes de version:
Funtion
This indicator will allow you to see the percentage change between any entry price and current price of an asset. You will need to input the price of your entry from within the indicator menu. The indicator will then calculate and display the percentage difference(change) between the buy/sell price that you input and current price. The displayed percentage value will continue to update in REAL TIME.

How to use[

1. Add the indicator to your chart.
2. It will appear in the top-right of the screen.
3. Double-Click on the indicator to access the menu where you can input your entry price, change the text size or change where the indicator appears on the chart.
4. Once you input your entry price, the indicator should display a percentage value as shown in the sample images.

Added to this version
1. Ability to change indicator size and position.
2. Indicator only displays percentage within the same amount of decimals as the ticker.
3. Indicator changes color when value is positive (green) or negative (red).
Notes de version:
Script Rework by /bfr

BUG -

Colors do not change as scripted. This is a bug that is outside of the actual script.

Added menu item to choose color and transparency .See code notes.
Notes de version:
Fixed Bug that reversed color when value is positive/negative and changed randomly on any value over 1. The indicator will now appear green for all positive values and red for all negative values by default. Colors and transparency can be changed for short/long positions or to make it easier to see on custom charts.
Notes de version:
Updated formula with correct percentage increase formula.
Notes de version:
Corrected new code errors and updated the code to include the following -

- Percentage Multiplier built-in.
- Calculation now returns rounded off values to 4 decimal places.
- Arranged the input menu into groups

PLEASE SEND ME A MESSAGE IF THE CODE DOES NOT WORK!
Script open-source

Dans le véritable esprit de 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?