很多人说我从来不做分时指标,不是我不想做,而是我不爱做超短线,所以少用,既然大家这么诚恳需要,那我就奉献给大家一个分时狙击涨停
其实此指标的基础就是我之前发过一牛熊指标,稍改一下,通达信、大智慧通用
用法:1、增加一个底部支撑线
2、增加一突破线,并且分时图中会提示 突破
3、增加一顶部压力线,一般到这条线附近有压力
4、紫色粗线为看多趋势,绿色粗线为下降趋势
{www.9m8.cn}通达信源码}
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;
{www.9m8.cn}大智慧源码}
AHC1:=CLOSE*VOL;
AHC2:=EMA((EMA(AHC1,3)/EMA(VOL,3)+EMA(AHC1,6)/EMA(VOL,6)+EMA(AHC1,12)/EMA(VOL,12)+EMA(AHC1,24)/EMA(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;