通达信一个很好用顶底买卖指标公式
- 指标类别: 通达信指标公式
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标分类: 趋势
- 画线方法: 副图
- 日期:2020-07-10 来源:互联网
通达信一个很好用顶底买卖指标公式:
A1:=(H+L+O+3*C)/6;
A0:0,COLORCYAN;
BIAS1:(A1-EMA(A1,21))/EMA(A1,21)*100,COLORWHITE;
MX1:SMA(BIAS1,3,1),COLORYELLOW;
MX2:SMA(MX1,3,1),COLORBLUE;
M1:HHV(BIAS1,89),COLORCYAN;
M2:LLV(BIAS1,89),COLORCYAN;
DIFF:=BIAS1;
顶背离:=A1<=REF(A1,1) AND DIFF>REF(DIFF,1);
DRAWTEXT(顶背离,DIFF,'底'),COLORRED;
底背离:=A1>REF(A1,1) AND DIFF<REF(DIFF,1);
DRAWTEXT(底背离,DIFF,'顶'),COLORGREEN;
STICKLINE(CROSS(BIAS1,5),0,BIAS1,1,0),COLORRED;
DRAWTEXT(CROSS(BIAS1,5) AND BIAS1<10,BIAS1,'5'),COLORYELLOW;
STICKLINE(CROSS(BIAS1,10),0,BIAS1,2,0),COLORRED;
DRAWTEXT(CROSS(BIAS1,10) AND BIAS1<15,BIAS1,'10'),COLORYELLOW;
STICKLINE(CROSS(BIAS1,15),0,BIAS1,3,0),COLORRED;
DRAWTEXT(CROSS(BIAS1,15) AND BIAS1<20,BIAS1,'15'),COLORYELLOW;
STICKLINE(CROSS(BIAS1,20),0,BIAS1,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(BIAS1,20),BIAS1,'20'),COLORYELLOW;
STICKLINE(CROSS(-5,BIAS1),0,BIAS1,1,0),COLORGREEN;
DRAWTEXT(CROSS(-5,BIAS1) AND BIAS1> -10,BIAS1,'-5'),COLORYELLOW;
STICKLINE(CROSS(-10,BIAS1),0,BIAS1,2,0),COLORGREEN;
DRAWTEXT(CROSS(-10,BIAS1) AND BIAS1> -15,BIAS1,'-10'),COLORYELLOW;
STICKLINE(CROSS(-15,BIAS1),0,BIAS1,3,0),COLORGREEN;
DRAWTEXT(CROSS(-15,BIAS1) AND BIAS1> -20,BIAS1,'-15'),COLORYELLOW;
STICKLINE(CROSS(-20,BIAS1),0,BIAS1,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(-20,BIAS1),BIAS1,'-20'),COLORYELLOW;
通达信一个很好用顶底买卖指标公式实例图解:
通达信一个很好用顶底买卖指标公式