{缚龙索主图}
A1:EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3),COLORRED;
A2:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA( CLOSE,7))/3,3),COLORRED;
A3:EMA((EMA(CLOSE,5)+EMA(CLOSE,7)+EMA( CLOSE,9))/3,3),COLORRED;
A4:EMA((EMA(CLOSE,7)+EMA(CLOSE,9)+EMA( CLOSE,11))/3,3),COLORRED;
A5:EMA((EMA(CLOSE,9)+EMA(CLOSE,11)+EMA( CLOSE,13))/3,3),COLORRED;
A6:EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA( CLOSE,15))/3,3),COLORRED;
A7:EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA( CLOSE,17))/3,3),COLORRED;
A8:EMA((EMA(CLOSE,15)+EMA(CLOSE,17)+EMA( CLOSE,19))/3,3),COLORRED;
A9:EMA((EMA(CLOSE,17)+EMA(CLOSE,19)+EMA( CLOSE,21))/3,3),COLORYELLOW;
A10:EMA((EMA(CLOSE,19)+EMA(CLOSE,21)+EMA( CLOSE,23))/3,3),COLORYELLOW;
A11:EMA((EMA(CLOSE,21)+EMA(CLOSE,23)+EMA( CLOSE,25))/3,3),COLORYELLOW;
A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW;
B:=REF(A,1);
DRAWTEXT(A>B,(A+B)/2,'★'),COLORFF00FF;
DRAWTEXT(A<=B,(A+B)/2,'☆'),COLORGREEN;
STICKLINE(A>B,A,B,8,0),COLORFF00FF;
STICKLINE(A<=B,A,B,8,1),COLORFF0000;
A15:A-(A1-A*0.997),COLORFF1010;
A16:A-(A2-A),COLORFF2010;
A17:A-(A3-A),COLORFF3010;
A18:A-(A4-A),COLORFF4010;
A19:A-(A5-A),COLORFF5010;
A20:A-(A6-A),COLORFF6010;
A21:A-(A7-A),COLORFF7010;
A22:A-(A8-A),COLORFF8010;
A23:A-(A9-A),COLORFF9010;
A24:A-(A10-A),COLORFFC010;
A25:A-(A11-A*0.997),COLORFFE010;
STICKLINE(OPEN>=CLOSE ,O,C,9,0 ),COLORAAAAAA;
STICKLINE(OPEN>=CLOSE ,O,C,6,0 ),COLORBBBBBB;
STICKLINE(OPEN>=CLOSE ,O,C,2.4,0 ),COLORCCCCCC;
STICKLINE(OPEN>=CLOSE ,O,C,1.1,0 ),COLORDDDDDD;
STICKLINE(CLOSE>OPEN,O,C,9,0 ),COLOR6666CC;
STICKLINE(CLOSE>OPEN,O,C,6 ,0 ),COLOR7777DD;
STICKLINE(CLOSE>OPEN,O,C,2.4 ,0 ),COLOR8888EE;
STICKLINE(CLOSE>OPEN,O,C,1.1 ,0 ),COLOR9999FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR1199FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR1199FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLORCCCCCC;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLORCCCCCC;
VAR31:=HHVBARS(ZIG(3, 19)>REF(ZIG(3,19),1) AND REF(ZIG(3,19), 1)<REF(ZIG(3,19), 2),0);
DRAWTEXT(VAR31=2,L*0.95,'3天'),COLORYELLOW;
DRAWTEXT(VAR31=4,H*1.06,'5天'),COLORYELLOW;
DRAWTEXT(VAR31=7,L*0.95,'8天'),COLORYELLOW;
DRAWTEXT(VAR31=12,H*1.06,'13天'),COLORYELLOW;
DRAWTEXT(VAR31=20,L*0.95,'21天'),COLORYELLOW;
DRAWTEXT(VAR31=33,H*1.06,'34天'),COLORYELLOW;
DRAWTEXT(VAR31=54,L*0.95,'55天'),COLORYELLOW;
DRAWTEXT(VAR31=88,H*1.06,'89天'),COLORYELLOW;
DRAWTEXT(VAR31=143,L*0.95,'144天'),COLORYELLOW;
DRAWTEXT(VAR31=232,H*1.06,'233天'),COLORYELLOW;
DRAWTEXT(VAR31=376,L*0.95,'377天'),COLORYELLOW;