筹码顶:REFDATE(CONST(COST(99.999)),DATE),DOTLINE,COLORMAGENTA,LINETHICK2;
筹码底:REFDATE(CONST(COST(0.001)),DATE),DOTLINE,COLORCYAN,LINETHICK2;
VAR1:=(筹码顶-筹码底)/10;
VAR2:=((筹码顶-筹码底)/2)+筹码底;
VAR3:=(VAR1*9)+筹码底;
VAR4:=筹码顶;
VAR5:=(VAR1*7)+筹码底;
VAR6:=(VAR1*3)+筹码底;
VAR7:=(VAR1*1)+筹码底;
VAR8:=(VAR1*-1)+筹码底;
VAR9:=筹码底;
VAR10:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
VAR11:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
VAR12:=EMA(CLOSE/VAR11*(1.88*CLOSE+LOW+OPEN)/2.75,3);
VAR18:=(VAR12-VAR11)/VAR11/2;
VAR19:=EMA(VAR12-VAR18*VAR12,5);
DRAWTEXT(CURRBARSCOUNT=1,VAR3*0.998,' 90'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR4*0.998,' 100'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR5*0.998,' 70'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR2*0.998,' 50'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR6*0.998,' 30'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR7*0.998,' 10'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR9*0.998,' 0'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,VAR8*0.998,'-10'),COLORWHITE;
漏斗下:IF(VAR10>VAR19,VAR10,VAR19),COLORYELLOW,LINETHICK2;
漏斗上:IF(VAR19<VAR10 AND VAR19<C*0.15,EMA(C,300)-3*STD(C,300),VAR19),COLORYELLOW,LINETHICK2;
漏:IF(VAR19>VAR10,漏斗上,DRAWNULL),COLORGREEN,LINETHICK2;
生命线:IF(CURRBARSCOUNT<13,CONST(COST(67.5)),DRAWNULL),COLORWHITE,DOTLINE;