TradingView
LonesomeTheBlue
3 set 2020 10:40

Position Sizing 

Bitcoin / TetherUSBinance

Descrizione

Hello All,

This script can be used for Position Sizing.

After you entered Capital you have, how much you can Risk per Trade, Profit and Stoploss Levels, it calculates Number of Buys/Sells, Position Size and Reward/Risk ratio. you need to choose one of "Long" or "Short" position you will take.


Number of Buys formula = Capital * RiskPerTrade / Loss

Position Size = NumberOfBuys * EntryPrice

Reward / Risk rate = (TargetPrice - EntryPrice) / (EntryPrice - StoplossPrice)



Enjoy!

Note di rilascio

fixed

Note di rilascio

Added "Use Decimal" option for the securities which you can buy less than 1 of it, such btc, eth etc. so if you need decimals, enable "Use Decimal"

Note di rilascio

fixed: even if the risk per trade is higher than enough, Position Size should not be higher than the Capital.
Commenti
AMB_76
Hugs!
syrinxflunki
Super stuff, thanks !
tg1crypto
Nice one. Would be good to have digits for position sizing if e.g. BTC is more worth than the portfolio, the position sizing should have a few digits
LonesomeTheBlue
@tg1crypto, Thanks for the comment, gonna check it
LonesomeTheBlue
@tg1crypto, added "Use Decimal" option ;)
SmoothJB
Awesome stuff boss.
Throned
Can you please fix the calculator. Its not working properly!!!

Example:

Capital 30000
Risk 10%
Entry =312
Take Profit 400
Stop Loss: 293

Num of buys= 96- Wrong, should 157
Size +29952 =- Wrong should be 49264
Profit= 8448
Loss = 1824
R/R -4.63
itsAkhil
Thanks bro, but most of the time the details are hidden from the screen, has to adjust time frame to see it. Please solve it
rajmodi39
Boss, that display template in not coming. anything to check?
rajmodi39
Altro