ma5:ma(c,5);
ma20:ma(c,20);
if ma5<ref(ma5,1) and ma20<ref(ma20,1) and c<ma5 then buyshort(holding=0,1,marketr);
if c>ma5 and ma5>ref(ma5,1) and ref(ma5<ref(ma5,1),1) and holding<0 then sellshort(1,0,marketr);
if ma5>ref(ma5,1) and ma20>ref(ma20,1) and c>ma5 then buy(HOLDING=0,1,marketr);
if c<ma5 and ma5<ref(ma5,1) and ref(ma5>ref(ma5,1),1) and holding>0 then sell(1,0,marketr);
请问这个程序能做实盘交易吗,请老师提个建议。