Function: long()
long(
groupId,qtyPctEquity?,tp?,sl?):void
Open (or replace) a long order group: market entry, optional single
TP/SL (pass na to omit), sized as % of equity (<= 0 inherits the
backtest default). groupId keys the position across bars.
Parameters
groupId
string
qtyPctEquity?
f64 = 100
tp?
f64 = NaN
sl?
f64 = NaN
Returns
void