通達(dá)信副圖數(shù)字預(yù)警(附源碼) MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 買:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)); JRS:=DRAWICON(FILTER(買=1,5),L*0.97,1); 收盤價買入:CROSS(JRS,0.8); 全年選股次數(shù):SUM(JRS,250),NODRAW三日內(nèi)漲2點賣出:HHV(H,2)>REF(C,2)*1.02 AND REF(CROSS(JRS,0.8),2); 全年成功次數(shù):SUM(三日內(nèi)漲2點賣出,250),NODRAW; |
|