OZ:=DYNAINFO(3)*1,COLOR0000FF;
STICKLINE(1,50/200+OZ,50/200+OZ,2,0),COLOR00AA00;
RTYP:=(HIGH+LOW+CLOSE)/3;
CCI14:=(RTYP-MA(RTYP,14))/(0.015*AVEDEV(RTYP,14))/2;
CCI84:=(RTYP-MA(RTYP,84))/(0.015*AVEDEV(RTYP,84))/2;
MMCCI84:=OZ+CCI84 /200,COLOR00FFFF,LINETHICK1;
STICKLINE(1,-50/200+OZ,-50/200+OZ,6,0),COLOR00AAAA;
DRAWBAND(MMCCI84,RGB(150,0,150),50/200+OZ,RGB(0,100,100));
WLFX:=IF(100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100 95,(50/200+OZ)-(50/200+OZ)*0.02,50/200+OZ),COLOR00FFFF,LINETHICK0;
WLDB:=IF(100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100 5,(-50/200+OZ)+(-50/200+OZ)*0.02,-50/200+OZ),COLORFFFF00,LINETHICK1;
VAR1:=CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VARCC:=STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3.2,0),COLORRED;
VARD:=CLOSE REF(CLOSE,1) AND CLOSE REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE =REF(CLOSE,1) AND CLOSE =REF(CLOSE,2);
VARBB:=STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3.20,1),COLORCYAN;{ 收阴}
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
DRAWBAND(MMCCI84,RGB(150,0,150),50/200+OZ,RGB(0,100,100));
DRAWICON(VAR19,LOW*0.99,1);
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
DRAWICON(VAR1A,HIGH*1.01,2);
DRAWKLINE(H,O,L,C);
DRAWBAND(WLDB,RGB(250,0,2500),-50/200+OZ,RGB(0,0,0));
DRAWBAND(50/200+OZ,RGB(255,255,0),WLFX,RGB(0,0,0));
买卖CCI84:MMCCI84,COLOR00FFFF,LINETHICK1;
判顶底CCI14:OZ+CCI14 /200,COLORDDCCCC,LINETHICK1;
MATT7:MA(CLOSE,7),COLOR0000FF,LINETHICK2;
生命34:MA(C,34),COLORWHITE,LINETHICK2;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
IF(生命34 REF(生命34,1),生命34,DRAWNULL),LINETHICK2,COLORRED;
IF(生命34 REF(生命34,1),生命34,DRAWNULL),LINETHICK2,COLOR00FF00;
{靓K线}
STICKLINE(CLOSE REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;
STICKLINE(C O AND C REF(C,1),C,O,3,0),COLORFFCC00;
STICKLINE(CLOSE REF(CLOSE,1) AND C O ,OPEN,CLOSE,3,0 ),COLOR000055;{红K};
STICKLINE(CLOSE REF(CLOSE,1) AND C O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{红K};
STICKLINE(CLOSE REF(CLOSE,1) AND C O ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
STICKLINE(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
STICKLINE(CLOSE REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
STICKLINE(CLOSE REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(C REF(C,1) AND C O,C,O,3,0),COLORFFCC00;
STICKLINE(C REF(C,1) AND C O ,OPEN,CLOSE,3,0 ),COLOR990000;
STICKLINE(C REF(C,1) AND C O ,OPEN,CLOSE,2.7,0 ),COLORCC0000;
STICKLINE(CLOSE REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;
STICKLINE(CLOSE REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;
STICKLINE(CLOSE REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;