OPEN-SOURCE SCRIPT

Leverage and %Stop Loss Risk Sim

Drawdown Simulator.

Will simulate a series of percent based stop losses being triggered in a row if you risked x% of capital per trade.

Also simulates what the capital outcome would be if you were in a leveraged position.

Default settings simulate the use of $3000 starting capital balance , 1% Risk per trade and 5 Losing trades in a row with no leverage (1x).

This will not account of commission fees.
Volatility

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer