OPEN-SOURCE SCRIPT
Position Sizing Calculator [racer8]

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!
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!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.