The strategy appears to be running fine, at least with sufficient capital.
Otherwise, it starts with an initial_capital = 1000
and opens positions of default_qty_value = 1000
. Also, the optional margin_*
properties are not specified, and the default requires 100% of the funds from the equity.
/@version=6
strategy(title = '2 UT Bot Strategy', overlay = true, default_qty_type = strategy.cash, default_qty_value = 1000, initial_capital = 1000, currency = currency.USDT)