股票公式不明白請查閱:股票公式文件使用以及說明,!
如果不是用在wh3請去掉最后一行。上次發(fā)帖現(xiàn)在找不到怎么跟帖所以重新發(fā)新貼,。
程序化交易模型源碼: MA5:=MA(CLOSE,5); RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,M1,1); D:=SMA(K,M2,1); DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA: EMA(DIFF,M); CROSS(DIFF,DEA)&&MA5>REF(MA5,2),BK; CROSS(K,D),BP; CROSS(DEA,DIFF)&&MA5<REF(MA5,2),SK; CROSS(D,K),SP; AUTOFILTER;
|