公式描述
突破是在技术分析上所用的一个术语,指价格突破阻力位,如:均线、前期相对高点和支撑点,突破后股价通常会上涨。
比如说:某股股价相对高点为10元,假设股价放量突破10元后,最近三天在10.5元附近徘徊,第三天收在10.5元之上,一般就认为该股票突破有效。
所以判断股价是否有效突破可以根据以下五个条件判断:
1、突破某个均线或前期压力位时,成交量必须放大,量价递增。突破时的成交量一般比平时成交量高2-3倍;
2、突破后最好站上某均线或压力位3-5天,因为很多股票突破后不会一直上涨,而是会在突破价位暂时歇息;
3、突破后当日收盘价要高于压力位的3-5个百分点,也就是以上举例,第三天收盘要站在10.5元以上;
4、突破后可能会回踩,回踩的时候成交量一般不会放大;
5、突破回踩的时候,有明显的支撑。
今日分享的通达信突破线指标公式,是一个分析个股突破点的指标公式。
具体信号说明:
当指标中出现黄色的信号柱,后市出现红色向上的信号时,后市上涨的概率较大,是参考买入的信号。
当指标中红色信号线向下拐或是出现绿色的信号柱时,后市下跌的概率较大,是参考卖出的信号。
公式案例
公式源码
X:=REF(CLOSE,1)<REF(CLOSE,2) AND REF(VOL,1)>MAX(REF(MA(VOL,5),1),MAX(REF(MA(VOL,10),1),REF(MA(VOL,20),1))) AND REF(VOL,1)>REF(MA(VOL,20),1)*1.1;
Y:=IF(X,MIN(REF(LOW,1),LOW),0);
Z1:=REF(Y,BARSLAST(X));
X1:=REF(CLOSE,1)<REF(OPEN,1) AND REF(VOL,1)>MAX(REF(MA(VOL,5),1),MAX(REF(MA(VOL,10),1),REF(MA(VOL,20),1))) AND REF(AMOUNT,1)=REF(HHV(AMOUNT,20),1) OR REF(CLOSE,1)<REF(OPEN,1) AND REF(AMOUNT,1)=REF(HHV(AMOUNT,20),1);
Y1:=IF(X1,REF(CLOSE,1),0);
Z2:=REF(Y1,BARSLAST(X1));
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
DRAWICON(CROSS(中多,短多),中多,2);
STICKLINE(SMA(VARE,3,1)>RSV3 ,SMA(VARE,3,1),RSV3,3,0), COLORRED;
STICKLINE(SMA(VARE,3,1)>RSV3 AND CLOSE>Z1 AND CLOSE>Z2 ,SMA(VARE,3,1),RSV3,3,0), COLORCYAN;
STICKLINE(SMA(VARE,3,1)>RSV3 ,SMA(VARE,3,1),RSV3,3,0), COLORYELLOW;
VAR1:=100*(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21));
RSV7:=SMA(VAR1,3,1);
STICKLINE(FILTER( RSV7<8, 50) ,0,20,4,0), COLORRED;
STICKLINE(FILTER( RSV7<8,50) ,0,8,15,0), COLORYELLOW;
STICKLINE(FILTER( RSV7>92, 50),92,100,15,0), COLOR66CC33;
STICKLINE(FILTER( RSV7>92, 50),80,92,4,0), COLORRED;
VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
RSV8:= MA((CLOSE-VAR2Q)/VAR2Q,1);
XA:=EMA(RSV8,12)*0.7;
XB:=EMA(RSV8,3);
IF(LLV(XB-XA,12)>0,0,-5),COLORGREEN,LINETHICK2;
103,COLORGREEN,LINETHICK2;
0,COLORCYAN,LINETHICK2;
DIFF :=( EMA(CLOSE,20) - EMA(CLOSE,90))*100;
DEA :=EMA(DIFF,45);
MACD :=2*(DIFF-DEA);
STICKLINE(DIFF<=0 AND DEA<=DIFF AND REF(DIFF,1)<REF(DEA,1) ,0,3,40,0),COLOR66CC33;
STICKLINE(DIFF<=0 AND DEA<=DIFF AND REF(DIFF,1)<REF(DEA,1) ,3,6,30,0),COLOR00FFFF;
STICKLINE(DIFF<=0 AND DEA<=DIFF AND REF(DIFF,1)<REF(DEA,1),6,20,0,0),COLORRED;
STICKLINE(DIFF>=0 AND DEA>=DIFF AND REF(DIFF,1)>REF(DEA,1),97,100,40,0),COLORFF00FF;
STICKLINE(DIFF>=0 AND DEA>=DIFF AND REF(DIFF,1)>REF(DEA,1),94,97,30,0),COLOR00FFFF;
STICKLINE(DIFF>=0 AND DEA>=DIFF AND REF(DIFF,1)>REF(DEA,1),80,94,1,0),COLORFF0000;
突破线:50,COLORWHITE,LINETHICK2; |