Mysteriown

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.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

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.
Reply
Mysteriown UpsideAlpha
@UpsideAlpha, Thanks for your feedback. For example, options to sell ...% of the position at TP1 and the rest at TP2 ?
Reply
Mysteriown UpsideAlpha
@UpsideAlpha, Added it ;)
Reply