筹码20日:=PPART(20)*100;
筹码60日:=PPART(60)*100;
筹码90日:=PPART(90)*100;
涨停:=C>=ZTPRICE(REF(C,1),0.1);
DRAWBAND(筹码20日,RGB(255,80,10),0,0);
DRAWBAND(筹码60日,RGB(200,150,0),0,0);
DRAWBAND(筹码90日,RGB(100,105,255),0,0);
获利盘:=WINNER(C)*100 ;
90,DOTLINE,LINETHICK1,COLORC0C0C0; {90%获利线}
100,DOTLINE,LINETHICK1,COLORC0C0C0; {100%获利线}
C1:=获利盘;
C1A:IF(C1<90,C1,DRAWNULL),POINTDOT,LINETHICK5,COLOR00FF00;
C1B:IF(C1>=90 ,C1,DRAWNULL),POINTDOT,LINETHICK8,COLOR0080FF;
C1C:IF(涨停,C1,DRAWNULL),POINTDOT,LINETHICK8,COLORFF00FF;
{标注涨停板}
TJ01:= C1>90 AND 涨停;
DRAWTEXT(涨停,88,VARCAT(VAR2STR(BARSLASTCOUNT(涨停),0),'B')),COLOR0000FF;
DRAWICON(涨停,80,34);
DRAWTEXT(ISLASTBAR,102,''); {辅助显示};