通达信分时牛熊指标 狙击涨停 判断分时趋势
2015-11-20 11:26:15点击:
{通达信源码}
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,34),COLORYELLOW;
顶:1.04*AHC2,LINETHICK2;
内上:=1.015*AHC2,LINETHICK2;
内下:=AHC2*0.99,LINETHICK2;
IF((内上 <= REF(内上,1)),内上,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((内上 >= REF(内上,1)),内上,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
IF((内下 <= REF(内下,1)),内下,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((内下 >= REF(内下,1)),内下,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
DRAWTEXT(ISLASTBAR,顶,'压力线—顶部'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,内上,'突破线—突破'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,内下,'支撑线—底部'),COLORYELLOW;
突破:=CROSS(C,内上);
DRAWTEXT(突破,C,'突破'),COLORYELLOW;
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,34),COLORYELLOW;
顶:1.04*AHC2,LINETHICK2;
内上:=1.015*AHC2,LINETHICK2;
内下:=AHC2*0.99,LINETHICK2;
IF((内上 <= REF(内上,1)),内上,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((内上 >= REF(内上,1)),内上,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
IF((内下 <= REF(内下,1)),内下,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((内下 >= REF(内下,1)),内下,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
DRAWTEXT(ISLASTBAR,顶,'压力线—顶部'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,内上,'突破线—突破'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,内下,'支撑线—底部'),COLORYELLOW;
突破:=CROSS(C,内上);
DRAWTEXT(突破,C,'突破'),COLORYELLOW;
- 上一篇:奉献自用选股器(选就买)无未来 2015/11/20
- 下一篇:通达信金融风控逃顶副图指标【选股思路 见底 套利 机构介入 2015/11/20