W1:=rsi(2);W2:=50;W3:=10;WS:=crOSS(W1,W2);
A1:=ma(C,5);A2:=MA(C,13);
A3:=MA(C,30);AA:=A3 REF(A3,1);
A4:=MA(C,60);A5:=MA(C,250);
NM:=((4*SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,1))
-(3*SMA(SMA((((C-LLV(L,5))/(HHV(H,5)-LLV(L,5)))*100),5,1),3.2,1)));
DD:=IF(NM =8,0.5,0);
XG1:=A1 A2 AND A2 A3 AND A3 A4 AND A4 A5 AND AA AND IF(DD,1,0);
XG2:=A2 A1 AND A1 A3 AND A3 A4 AND A4 A5 AND AA AND IF(DD,1,0);
SQ:=XG1 OR XG2;
M1:=C REF(C,1);
M2:=COUNT(SQ,5)
XX2:=M1 AND M2;
GG2:=FILTER(XX2,5);
王者波段:GG2 AND WS;