if ref(cross(ma30,ma60),1) and barpos>50 and isup then begin
sellshort......;
buy........;
end
if ref(cross(ma60,ma30),1) and barpos>50 and isdown then begin
sell.........;
buyshort.....;
交叉反手,第二個k線開,k線大于50周期 ,k線陰陽線都寫了