N:=27; N2:=9; N3:=3; N4:=16; WRSI2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; VAR1:=IF(DATE>=1030131,1,1); VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; VAR3:=SMA(VAR2,3,1)*VAR1; VAR4:SMA(VAR3,N2,1)*VAR1; D:16; 跌幅:=(C-O)/REF(C,1); 买:(VAR4<16 AND REF(C,1)<C AND REF(跌幅,1)<-0.05)*50;
看股吧 公式 www.kanguba.co m