IF HOLDING<0 and CROSS(MA5,MA10) THEN
SELLSHORT(1,HOLDING,LIMITR,CLOSE);
这个再加上什么?或者用其它什么代码比较好
5日线上穿10日,并且5日线小于20 日线 或40 日线
if cross(ma(c,5),ma(c,10)) and ((ma(c,5)<ma(c,20) ) or (ma(c,5)<ma(c,40))) then sell(1,0,,thisclose);
用thisclose 和close区别不大吧