N:=3; P1:=5; P2:=13; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,P1,1); D:=SMA(K,P2,1); ENTERLONG:CROSS(k,d) ; {多头买入} EXITLONG:CROSS(d,k) ; {多头卖出}
看 股吧公式 www. kanguba.com