{1}
W20:=LWINNER(20,C);
WC:=WINNER(C);
{2}
LC:=REF(CLOSE,1);
rsi5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(Abs(CLOSE-LC),3,1))*100;
wr10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
活跃度:=RSI5-WR10,LINETHICK0,COLORFFFF00;
SC:=100*(CLOSE-MA(CLOSE,20)),LINETHICK2,COLORRED;
Mao:=EMA(SC,6),LINETHICK2,COLORGREEN;
{3}
A:=C/COST(5);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D,COLORMAGENTA;
X1:=REF(W20,1)<=0.03 OR REF(WC,1)<=0.03;
X2:=COUNT(A<=0.95,5)>=1;
X3:=HHV(C,10)/LLV(C,10)>=1.2;
X4:=J<25;
X5:=macd.MacD>REF(MACD.MACD,1) AND MACD.MACD<0;
X6:=COUNT((CLOSE
X7:=COUNT((C/REF(C,1)-1)<-0.095,10)<2;
X8:=crOSS(SC,MAO);
X9:=活跃度>0;
X10:=COUNT((CLOSE>REF(C,1)*0.91 AND H=L),1)<1;
XG: X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9 AND X10;