WARNING:Martingale is susceptible to huge drawdown spikes, use at your own risk.
simple functions for martingale wins and losses, multiplier can be adjusted manually to increase/decrease performance/drawdown.
I needed to see what the max Drawdown was for a specific security, and so I wrote this script. Maybe others might also find it useful. Here I apply it to the Russel 2000 index. The Russel 2000 index has been gone down quite consistently recently. So someone might wonder how weird is that, and from this index you can see...