gspt3:=IF(1,(C/REF(C,1)-1)*100>9.5,0),NODRAW;最后涨停距今数:BARSLAST(gspt3),NODRAW,COLOR00CCCC;gspt4:=(REF(C,BARSLAST(gspt3))+REF(OPEN,BARSLAST(gspt3)))/2;STICKLINE(gspt3,OPEN,C,2,0),COLORE6E8FA;gspt5:=REF(C,1);gspt6:=IF((gspt5-C)*100/gspt5>=10-0.01*100/gspt5,1,0);MA13:MA(C,13),COLORCYAN;IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED;MA21:=MA(C,21),COLOR00CCCC,LINETHICK2;gspt7:=C>MA21 AND MA13>REF(MA13,1) AND gspt6!=1;gspt8:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;gspt9:=REF(C,1);gspt10:=SMA(MAX(C-gspt9,0),2,1)/SMA(ABS(C-gspt9),2,1)*100;TY:=H;gspt11:=SMA(MAX(C-gspt9,0),14,1)/SMA(ABS(C-gspt9),14,1)*100;gspt12:=45;gspt13:=80;gspt14:=20;gspt15:=5;gspt16:=gspt10< gspt12 AND REF(gspt10,1)>gspt12;gspt17:=gspt10< gspt14 AND REF(gspt10,1)>gspt14;gspt18:=COUNT(gspt3,13)>=1;gspt19:=SMA(LOW,4,3);gspt20:=gspt16 OR gspt17 AND gspt18;gspt21:=REF(gspt16,1) OR REF(gspt17,1) AND LOW< MA(C,5) AND gspt18 AND gspt7 AND C>REF(LOW,BARSLAST(gspt3));STICKLINE(gspt21,OPEN,C,2,0),COLORYELLOW;DRAWTEXT(gspt21,L*0.95,'★回'),COLOR00FFFF;DRAWICON(gspt21,L,11);gspt22:=AMOUNT/VOL/100;gspt23:=REF(C,1);STICKLINE(C,gspt4,gspt4,2,0),COLORMAGENTA;STICKLINE(C,REF(LOW,BARSLAST(gspt3)),REF(LOW,BARSLAST(gspt3)),2,0),COLORCCCC00;