This is a backtest script for an advanced version of my MASAR indicator. I could find a (local) optimum for 1h time frame on Coinbase:BTCUSD which yields 176k% profit when the position size is set to 100% of total equity (going all-in in each trade). Other trade settings are set to default. You can probably find better settings if you play around with the settings...