X_1:=50;
X_2:=(WINNER(CLOSE)-WINNER(CLOSE/1.3))*100;
X_3:=WINNER(CLOSE/1.1)*100;
X_4:=LLV(MA((LOW+HIGH+3*CLOSE+OPEN)/6,6),89);
X_5:=EMA((LOW+HIGH+3*CLOSE+OPEN)/6*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_4,2)*2+100;
X_6:=(1.86*EMA(CLOSE,5)-EMA(CLOSE,13))*2+100;
X_7:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
X_8:=IF(MA(CLOSE,17)<X_7,X_7,MA(CLOSE,17));
X_9:=(X_8-(EMA(CLOSE,3)-X_8))*2+100;
X_10:=X_6>=X_5;
X_11:=X_3>=X_2;
X_12:=X_3>X_1;
XG:X_10 AND X_11 AND X_12 LINETHICK1,COLORRED;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
STICKLINE(V1 AND V2 AND V3 AND V4,0,0.7,2.8,0),COLORYELLOW;
N:=30;
C0:=HHV(H,N);
C0A:=REF(C,1);
C1:=(C0-H)/H;
D1:=(H=C0);
D2:=(C1>0 AND C1<=0.0123);
STICKLINE((OPEN-C0A)/C0A> -9.999 AND (D1 OR D2),0,-2,-1,0),COLORRED ;
X:=10;Y:=10;
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01 * 1.04)) * 100.000);
A03:=(WINNER((A01 * 0.96)) * 100.000);
获利盘:A03,NODRAW;
浮动盘:A02-A03,NODRAW;
套牢盘:( 100.000 - A02),NODRAW;
A0A:=(((((HHV(获利盘, 100.000) - A03) / A03) * 100.000) > N) AND (HHV(获利盘, 100.000) > 50.000));
STICKLINE(A0A,(-2.0), -1.80, 3.0,0),COLORYELLOW;
STICKLINE(NOT(A0A),(-2.0), -1.80, 3.0,0),COLORMAGENTA;