VAR2:=REF(L,1);
VAR3:=SMA(Abs(L-VAR2),3,1)/SMA(MAX(L-VAR2,0),3,1)*100;
VAR4:=EMA(IF(C*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(L,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(LLV(L,58),1,0);
VAR8:=EMA(IF(L<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
VAR5X:=LLV(L,75);
VAR6X:=HHV(H,75);
VAR7X:=(VAR6X-VAR5X)/100;
VAR8X:=SMA((C-VAR5X)/VAR7X,20,1);
VARA:=3*VAR8X-2*SMA(VAR8X,15,1);
VAR26:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;
VAR28:=SMA(VAR26,3,1);
VAR12:(C-LLV(L,40))/LLV(L,40)*100,COLORYELLOW;
波段王:=SMA(VAR28,3,1);
建仓吸筹:IF(VAR8,VAR8,1),COLORRED;
趋势线:(C-MA(C,40))/MA(C,40)*100,COLORBLacK;
主力线:(C-MA(LLV(L,40),40))/MA(LLV(L,40),40)*100,COLORMAGENTA;
VAR1:=(L+H+C)/3;
操作:=MA(VAR1,5);
拉升:=HHV(操作,13);
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,30);
最大值:=MAX(MAX(M1,M2),MAX(M3,M4));
最小值:=MIN(MIN(M1,M2),MIN(M3,M4));
攻击线:28,COLORLIBLUE,DOTLINE;
BArslAST(L<=最小值 AND C>=最大值)=0;
DRAWICON(crOSS(VAR12,攻击线) ,VAR12,9);