http://www.weistock.com/bbs/dispbbs.asp?BoardID=4&ID=75645&skin=0
和你年前发的有什么本质上的区别吗?
if d1 or d2 or d3 or d4 or d5 then begin
sellshort(1,0,thisclose);
buy(holding=0,1,thisclose);
end
if k1 or k2 or k3 or k4 or k5 then begin
sell(1,0,thisclose);
buyshort(holding=0,1,thisclose);
end
if holding>0 and close<ref(low,enterbars) then sell(1,0,thisclose);
if holding<0 and close>ref(h,enterbars) then sellshort(1,0,thisclose);