1分钟或5分钟线,费率资金都已经正确设置,就是不开仓。
多:if(time=093000,1,0), noaxis;
if 多 then begin
sellshort(holding<0,1,market);
buy(holding=0,1,market)
end
空:if(time=103000,1,0), noaxis;
//if cross(-b,mm) then begin
if 空 then begin
sell(holding>0,1,market);
buyshort(holding=0,1,market)
end