OPEN-SOURCE SCRIPT
Trade Sizing

This script is a calculation tool for sizing a trade.
The aim here is to select two price (Opening and TP) and one point (Stop Loss) that will form the sizing of a trade.
You can configure :
The starting capital
The risk
The maker or taker fees
The tool will then display the different levels (Opening, SL, TP), and calculate the Break Even, the Quantity to buy, the different gains and loss ratio and their values.
There is a statistical Stop Loss selectable option. It is calculated in relation to the ATR and an exclusion percentage (configurable).
There are a lot of displays options (hide and show) and also cosmetic options (colors).
Special option : it's possible to define a TF value to keep the display size and the statistical SL value at this wanted TF.
The aim here is to select two price (Opening and TP) and one point (Stop Loss) that will form the sizing of a trade.
You can configure :
The starting capital
The risk
The maker or taker fees
The tool will then display the different levels (Opening, SL, TP), and calculate the Break Even, the Quantity to buy, the different gains and loss ratio and their values.
There is a statistical Stop Loss selectable option. It is calculated in relation to the ATR and an exclusion percentage (configurable).
There are a lot of displays options (hide and show) and also cosmetic options (colors).
Special option : it's possible to define a TF value to keep the display size and the statistical SL value at this wanted TF.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.