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);{买入信号}
投 股票网 www. tou18.cn