通達信一個很好用頂底買賣指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2020-07-10 來源:互聯(lián)網
通達信一個很好用頂底買賣指標公式:
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;
通達信一個很好用頂底買賣指標公式實例圖解:
通達信一個很好用頂底買賣指標公式