a.亏损止损:sell(enterprice-bidprice>=n*mindiff and bidprice=close,holding,limitr,bidprice);
b.连亏止损:if maxseqloss>=20 then exit;
c.低胜率止损:if totaldaytrade>=20 and percentwin<=0.5 then exit;
d.大回撤止损:if (hhv(asset,0)-asset)/hhv(asset,0)*100>=2 then exit;
hao好好的帖子
a.亏损止损:sell(enterprice-bidprice>=n*mindiff and bidprice=close,holding,limitr,bidprice);
b.连亏止损:if maxseqloss>=20 then exit;
c.低胜率止损:if totaldaytrade>=20 and percentwin<=0.5 then exit;
d.大回撤止损:if (hhv(asset,0)-asset)/hhv(asset,0)*100>=2 then exit;