LG:(K7+K8+K9+K10+K11+K12)/6,COLORCYAN,LINETHICK2;
LLG:(K13+K14+K15+K16+K17+K18)/6,COLORRED,LINETHICK2;
CHUP1:HHV(ST,20),COLORWHITE,DOTLINE;
CHDN1:LLV(ST,20),COLORWHITE,DOTLINE;
CHUP2:HHV(LG,20),COLORCYAN,DOTLINE;
CHDN2:LLV(LG,20),COLORCYAN,DOTLINE;
CHUP3:HHV(LLG,20),COLORYELLOW,DOTLINE;
CHDN3:LLV(LLG,20),COLORYELLOW,DOTLINE;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
STICKLINE(CHUP1 REF(CHUP1,1) OR (CHUP1=REF(CHUP1,1) AND CHDN1 REF(CHDN1,1)),CHUP1,CHDN1,0.3,1),COLORWHITE;
STICKLINE(CHUP1 REF(CHUP1,1) OR (CHUP1=REF(CHUP1,1) AND CHDN1 REF(CHDN1,1)),CHUP1,CHDN1,0.3,-1),COLORWHITE;
STICKLINE(CHUP2 REF(CHUP2,1) OR (CHUP2=REF(CHUP2,1) AND CHDN2 REF(CHDN2,1)),CHUP2,CHDN2,0.3,1),COLORCYAN;
STICKLINE(CHUP2 REF(CHUP2,1) OR (CHUP2=REF(CHUP2,1) AND CHDN2 REF(CHDN2,1)),CHUP2,CHDN2,0.3,-1),COLORCYAN;
STICKLINE(CHUP3 REF(CHUP3,1) OR (CHUP3=REF(CHUP3,1) AND CHDN3 REF(CHDN3,1)),CHUP3,CHDN3,0.3,1),COLORYELLOW;
STICKLINE(CHUP3 REF(CHUP3,1) OR (CHUP3=REF(CHUP3,1) AND CHDN2 REF(CHDN2,1)),CHUP3,CHDN3,0.3,-1),COLORYELLOW;
DRAWKLINE(H,O,L,C);