OPEN-SOURCE SCRIPT

Gain Loss

Actualizado
A very simple yet, very useful and lovely oscillator, most of the time, when we have a position in a trend and we want to take a look at percentage of our gain or loss, we need to use the "Price Range" tool time and time again, this, in some trades that you would buy and sell in less than an hour, can become a problem, also, if you have few different things going on in the chart, the price range tool will only add more to it.
Using this little oscillator, you can put the price of your position in the input section and close the settings window and watch your gain or loss percentage in real time.
Notas de prensa
Added options for margin trading.
Added ability to set the trading fee to reduce it from gain or add on top of loss automatically (at zero price you will see negative loss equivalent of the fee)
GAINlossOscillatorspercent

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad