Position Calculator

This script calculates how much cryptos or dollars you have to bet with 4 variables : Risk Loss , Leverage, Entry and Stop Loss.

When you want to open a position, just complete the parameters and the script will tell you how much you have to bet in dollars or cryptos units, depending the way you're trading.

Note : don't foreget that you have to pay fees on exchanges whose are not included here, specially with high leverage trades.
Release Notes: Corrected calculation of the bet in cryptos.
Set 2 decimals for the bet in dollars et 3 for the one in cryptos.
Release Notes: Added intermediate take profit in the R/R calculation with the possibility to indicate the price and %.
To use it, just tick the option in parameters.
Skript med en öppen källkod

I sann TradingView-anda har författaren till detta skript publicerat det som öppen källkod, så att handlare kan förstå och verifiera det. Skål för författaren! Du kan använda den gratis men återanvändning av den här koden i en publikation regleras av våra Ordningsregler. Du kan göra den till favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?


Nice work! A good addition would be 2 seperate profit targets. Many trading systems scale out and calculating R/R with pre-planned targets would be awesome.
Mysteriown UpsideAlpha
@UpsideAlpha, Thanks for your feedback. For example, options to sell ...% of the position at TP1 and the rest at TP2 ?
Mysteriown UpsideAlpha
@UpsideAlpha, Added it ;)