TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
TYX4:=MA((C+L+O+H)/4,13);
TYX5:=EMA((C+L+O+H)/4,21);
W00:=COST(1);
W10:=COST(10);
W20:=COST(20);
W30:=COST(30);
W40:=COST(40);
W50:=COST(50);
W60:=COST(60);
W70:=COST(70);
W80:=COST(80);
W90:=COST(90);
W100:=COST(99);
W5:=COST(5);
W15:=COST(15);
W25:=COST(25);
W35:=COST(35);
W45:=COST(45);
W55:=COST(55);
W65:=COST(65);
W75:=COST(75);
W85:=COST(85);
W95:=COST(95);
C5:=W5-W00;
C10:=W10-W5;
C15:=W15-W10;
C20:=W20-W15;
C25:=W25-W20;
C30:=W30-W25;
C35:=W35-W30;
C40:=W40-W35;
C45:=W45-W40;
C50:=W50-W45;
C55:=W55-W50;
C60:=W60-W55;
C65:=W65-W60;
C70:=W70-W65;
C75:=W75-W70;
C80:=W80-W75;
C85:=W85-W80;
C90:=W90-W85;
C95:=W95-W90;
C100:=W100-W95;
筹宽:=W100-W00;
J90:=W90-W60;
J80:=W80-W50;
J70:=W70-W40;
J60:=W60-W30;
J50:=W50-W20;
J40:=W40-W10;
J30:=W30-W00;
{}
STICKLINE(J90/筹宽<0.08,W90,W60,4,0),COLORBLUE;
STICKLINE(J80/筹宽<0.08,W80,W50,4,0),COLORBLUE;
STICKLINE(J70/筹宽<0.08,W70,W40,4,0),COLORBLUE;
STICKLINE(J60/筹宽<0.08,W60,W30,4,0),COLORBLUE;
STICKLINE(J50/筹宽<0.08,W50,W20,4,0),COLORBLUE;
STICKLINE(J40/筹宽<0.08,W40,W10,4,0),COLORBLUE;
JJ90:=W90-W70;
JJ80:=W80-W60;
JJ70:=W70-W50;
JJ60:=W60-W40;
JJ50:=W50-W30;
JJ40:=W40-W20;
JJ30:=W30-W10;
STICKLINE(JJ90/筹宽<0.05,W90,W70,4,0),COLORBROWN;
STICKLINE(JJ80/筹宽<0.05,W80,W60,4,0),COLORBROWN;
STICKLINE(JJ70/筹宽<0.05,W70,W50,4,0),COLORBROWN;
STICKLINE(JJ60/筹宽<0.05,W60,W40,4,0),COLORBROWN;
STICKLINE(JJ50/筹宽<0.05,W50,W30,4,0),COLORBROWN;
STICKLINE(JJ40/筹宽<0.05,W40,W20,4,0),COLORBROWN;
STICKLINE(JJ30/筹宽<0.05,W30,W10,4,0),COLORBROWN;
ZX:=MIN(C5,MIN(C10,MIN(C15,MIN(C20,MIN(C25,MIN(C30,MIN(C35,MIN(C40,MIN(C45,MIN(C50,MIN(C55,MIN(C60,MIN(C65,MIN(C70,MIN(C75,MIN(C80,MIN(C85,MIN(C90,MIN(C95,C100)))))))))))))))))));
STICKLINE(ZX=C5,W00,W5,3,0),COLORGRAY;
STICKLINE(ZX=C10,W10,W5,3,0),COLORGRAY;
STICKLINE(ZX=C15,W15,W10,3,0),COLORGRAY;
STICKLINE(ZX=C20,W20,W15,3,0),COLORGRAY;
STICKLINE(ZX=C25,W25,W20,3,0),COLORGRAY;
STICKLINE(ZX=C30,W30,W25,3,0),COLORGRAY;
STICKLINE(ZX=C35,W35,W30,3,0),COLORGRAY;
STICKLINE(ZX=C40,W40,W35,3,0),COLORGRAY;
STICKLINE(ZX=C45,W45,W40,3,0),COLORGRAY;
STICKLINE(ZX=C50,W50,W45,3,0),COLORGRAY;
STICKLINE(ZX=C55,W55,W50,3,0),COLORGRAY;
STICKLINE(ZX=C60,W60,W55,3,0),COLORGRAY;
STICKLINE(ZX=C65,W65,W60,3,0),COLORGRAY;
STICKLINE(ZX=C70,W70,W65,3,0),COLORGRAY;
STICKLINE(ZX=C75,W75,W70,3,0),COLORGRAY;
STICKLINE(ZX=C80,W80,W75,3,0),COLORGRAY;
STICKLINE(ZX=C85,W85,W70,3,0),COLORGRAY;
STICKLINE(ZX=C90,W90,W85,3,0),COLORGRAY;
STICKLINE(ZX=C95,W95,W90,3,0),COLORGRAY;
STICKLINE(ZX=C100,W100,W95,3,0),COLORGRAY;
DRAWKLINE(H,O,L,C);
{涨跌停K线}
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1.5,0),COLORYELLOW;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1.5,0),COLORWHITE;
{突破}
STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1.5,0),COLORMAGENTA;