公式如下
CRSI:="RSI.RSI3#WEEK";
HRSI:=HHV("RSI.RSI1#WEEK",2);
金叉RSI:=STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),88,12,0.6,0);
VARA:=REF(CLOSE,1);
VARE:=SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100;
ARSI下:=STICKLINE(HRSI<=CRSI,HRSI,CRSI,0.1,1);
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:=EMA(VAR1,13)-EMA(VAR1,73);
SD:=EMA(SK,2);
XG:((CROSS(SK,SD)ANDSK<-0.04AND(C-REF(C,1))/REF(C,1)>=0.03)OR(CROSS(SK,SD)ANDSK<=-0.14)
OR(CROSS(SK,SD)ANDSK<=0.05AND(V/MA(V,5)>2ORC/REF(C,1)>0.035))OR金叉RSI)*20;