n:=55; DIF:EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED; A:REF(HHV(DIF,n),1);{N日内dif的最高值} IF(A=REF(A,1) AND CROSS(DIF,A) AND COUNT(REF(DIF<A,1),10)>9,0.5,0);{买入信号}
看股吧公 式 w ww.kanguba.com