YGZJ1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
YGZJ2:=2*ABS(YGZJ1);
YGZJ3:=100-3*SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1);
YGZJ4:=100-3*SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1);
YGZJ5:=(H+L+C)/3;
YGZJ6:=(YGZJ5-MA(YGZJ5,14))/(0.015*AVEDEV(YGZJ5,14));
YGZJ7:=(YGZJ5-MA(YGZJ5,89))/(0.015*AVEDEV(YGZJ5,89));
YGZJ8:=IF(YGZJ6>=150 AND YGZJ6< 200 AND YGZJ7>=150 AND YGZJ7< 200,10,0);
YGZJ9:=IF(YGZJ6<=-150 AND YGZJ6>-200 AND YGZJ7<=-150 AND YGZJ7>-200,-10,YGZJ8);
YGZJ10:=(C-MA(C,13))/MA(C,13)*100;
YGZJ11:=100-ABS(YGZJ10);
YGZJ12:=3*SMA((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA ((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1);
YGZJ13:=3*SMA((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA ((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1);
YGZJ14:=REF(L,1)*0.9;
YGZJ15:=(L*0.9*V+YGZJ14*(CAPITAL-V))/CAPITAL;
X1:=EMA(YGZJ15,30);
X2:=X1-C;
X3:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100;
X4:=SMA(MAX(C-REF(C,1),0),13,1)/SMA(ABS(C-REF(C,1)),13,1)*100;
X5:=BARSCOUNT(C);
X6:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
X7:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
X8:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
X9:=(SMA(X8,4,1)-50)*2;
X10:=SMA(X9,3,1);
X11:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X12:=SMA(X11,4,1);
X13:=SMA(X12,3,1);
X14:=(HHV(H,30)-C)/C*100;
X15:=IF(X6<=25 AND X7< -95 AND X14>20 AND X10< -30 AND X13< 30 AND X2>=-0.25 AND X3< 22 AND X4< 28 AND X5>50,80,0);
浮筹线:YGZJ3,COLORFF00FF;
X16:=IF(YGZJ11< 90,YGZJ11,100),COLORFFCC66;
X17:=IF(YGZJ1>0,YGZJ1,0);
活跃线:IF(YGZJ1< 0,YGZJ2,0),LINESTICK;
X18:=X15;
X19:=IF(YGZJ7>=200 AND YGZJ6>=150,15,IF(YGZJ7<=-200 AND YGZJ6<=-150,-15,YGZJ9))+60,COLOR00FF00;
X20:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34));
X21:=MA(X20,3);
X22:=EMA(AMOUNT/V/100,5);
X23:=EMA(AMOUNT/V/100,13);
X24:=X22-X23;
X25:=IF(1000*X24/X22>0,1000*X24/X22,0);
STICKLINE(YGZJ3>=REF(YGZJ4,1),YGZJ3,YGZJ4,8,1),COLOR0000FF;
STICKLINE(YGZJ3< REF(YGZJ4,1),YGZJ3,YGZJ4,8,1),COLOR00FF00;
X26:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
X27:=C< MA(C,20) AND MA(C,20)< REF(MA(C,20),1);
X28:=X17>50 AND X19>60 AND X16=100;
X29:=X17>48 AND X19>60 AND X16< 100;
X30:=活跃线>38 AND X19< 55;
X31:=X18>50 AND X16< 90;
X32:=YGZJ3< REF(YGZJ4,1) AND V>REF(V,1) AND C>REF(C,1);
X33:=YGZJ3>=REF(YGZJ4,1) AND C< REF(C,1) AND X19=60 AND X18=0 AND 活跃线>=REF(活跃线,1) AND YGZJ12< REF(YGZJ13,1);
DRAWTEXT(X26 AND COUNT(X26,30)=1,90,' ←继续等'),COLOR00FFFF;
STICKLINE(X28 AND COUNT(X28,30)=1,0,70,1,0),COLOR00FF00;
DRAWTEXT(X28 AND COUNT(X28,30)=1,65,' ★超涨注意风险'),COLOR0000FF;
STICKLINE(REF(X19,1)< 60 AND X19>=60,0,50,2,0),COLOR00FFFF;