VAR3:=IF(1,(C/REF(C,1)-1)*100>9.5,0),NODRAW;
最后涨停距今数:BARSLAST(VAR3),NODRAW,COLOR00CCCC;
VAR4:=(REF(C,BARSLAST(VAR3))+REF(OPEN,BARSLAST(VAR3)))/2;
STICKLINE(VAR3,OPEN,C,2,0),COLORE6E8FA;
VAR5:=REF(C,1);
VAR6:=IF((VAR5-C)*100/VAR5>=10-0.01*100/VAR5,1,0);
MA13:MA(C,13),COLORCYAN;
IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED;
MA21:=MA(C,21),COLOR00CCCC,LINETHICK2;
VAR7:=C>MA21 AND MA13>REF(MA13,1) AND VAR6!=1;
VAR8:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
VAR9:=REF(C,1);
VAR10:=SMA(MAX(C-VAR9,0),2,1)/SMA(ABS(C-VAR9),2,1)*100;
TY:=H;
VAR11:=SMA(MAX(C-VAR9,0),14,1)/SMA(ABS(C-VAR9),14,1)*100;
VAR12:=45;
VAR13:=80;
VAR14:=20;
VAR15:=5;
VAR16:=VAR10< VAR12 AND REF(VAR10,1)>VAR12;
VAR17:=VAR10< VAR14 AND REF(VAR10,1)>VAR14;
VAR18:=COUNT(VAR3,13)>=1;
VAR19:=SMA(LOW,4,3);
VAR20:=VAR16 OR VAR17 AND VAR18;
VAR21:=REF(VAR16,1) OR REF(VAR17,1) AND LOW< MA(C,5) AND VAR18 AND VAR7 AND C>REF(LOW,BARSLAST(VAR3));
STICKLINE(VAR21,OPEN,C,2,0),COLORYELLOW;
DRAWTEXT(VAR21,L*0.95,'★回'),COLOR00FFFF;
DRAWICON(VAR21,L,11);
VAR22:=AMOUNT/VOL/100;
VAR23:=REF(C,1);
STICKLINE(C,VAR4,VAR4,2,0),COLORMAGENTA;
STICKLINE(C,REF(LOW,BARSLAST(VAR3)),REF(LOW,BARSLAST(VAR3)),2,0),COLORCCCC00;