if holding=0 then buy(1,1,limitr,close-1),ignocheckprice;
if holding>0 then sell(1,0,limitr,enterprice+2),ignocheckprice;
if holding=0 then buy(1,1,limitr,ref(close,1)-1),IGNORECHECKPRICE;
if holding>0 then sell(1,0,limitr,enterprice+2),IGNORECHECKPRICE;
把函数修改了一下,这下试试看,然后看看有没有信号触发
if holding=0 then buy(1,1,limitr,close-1),IGNORECHECKPRICE;
if holding>0 then sell(1,0,limitr,enterprice+2),IGNORECHECKPRICE;
把函数修改了一下,这下试试看,然后看看有没有信号触发 有成交了