OPEN-SOURCE SCRIPT

Position Sizing Calculator [racer8]

1 835
Brief Description:
This indicator calculates your position size. It adjusts to the ATR & the maximum amount of risk (% of equity) you can tolerate.
Thus, it allows you to control your risk & adapt to market volatility.

Recommended settings for parameters:
Converted Capital ***Make sure you convert your capital's currency to whatever currency/instrument you are trading. (Use Google)
Percent Risk = 1 to 3
ATR SL Multiplier = 1 to 2
ATR Period = 7 to 14

How it's calculated:
Risk amount = Converted Capital * ( Percent Risk / 100 )
Stop Loss = ATR * (ATR SL Multiplier)
# of Units = Risk amount / Stop loss

Hit the like button & enjoy!

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.