LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
OSC:=100*(CLOSE-MA(CLOSE,20));
MaoSC:=EMA(OSC,6);
{ _股票飞狐指标公式}
bias:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
BIASMA:=MA(BIAS,6);
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C
P2:=IF(C
LIN:=IF(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,1,0);
SS1:=crOSS(OSC,MAOSC) AND LIN;
SS:CROSS(OSC,MAOSC) AND CROSS(BIAS,BIASMA) AND LIN;