Simpel_Bart

Kelly Leverage [Sim]

Simpel_Bart Updated   
This is a risk management tool to determine the max leverage you should use based on your long and short conditions calculated via edge / risk. How? The script calculates the max drawdown (risk) based on your strategy and the max upside (edge) for a specified sample size of trades adjustable in the inputs section. Feel free to improve upon this or adjust code as you see fit.

Cheers,

Sim
Release Notes:
Some bug fixes.
Release Notes:
This is a good one if you know how to use it.
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.

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.

Want to use this script on a chart?