通達信超平滑macd背底買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2021-07-06 來源:互聯(lián)網(wǎng)
通達信超平滑macd背底買賣指標公式:包含未來函數(shù):DRAWLINE
VC:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)/(V+REF(V,1)+REF(V,2)),NODRAW;
SQX:=(VC-MA(VC,13))*100;
DIF:MA(SQX,5),COLORWHITE;
DEA:EMA(DIF,5),COLORYELLOW;
MACD:(DIF-DEA)*2,COLORSTICK;
低金:IF(CROSS(DIF,DEA) AND DIF<-0.1,15,DRAWNULL),COLORYELLOW,LINETHICK4,CROSSDOT;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二金:IF(CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,28,DRAWNULL),COLORFF00FF,LINETHICK4,CROSSDOT;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1)),NODRAW;
底背:IF(REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),40,DRAWNULL),COLORRED,LINETHICK4,CROSSDOT;
勢:DRAWLINE(A1=0,DEA,底背,DEA,0),COLORGREEN;{,COLORRED;}
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
頂背:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF),COLORWHITE;
頂背_:IF(REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF
AND CROSS(DEA,DIF),66,DRAWNULL),COLORF08000,LINETHICK4,CROSSDOT;
壓:DRAWLINE(A2=0,DEA,頂背,DEA,0),COLORFFBB99;
A3:=CROSS(DIF,DEA) AND DEA<0;
零下二金_:IF(FILTER(COUNT(A3,21)=2,10),53,DRAWNULL),COLORWHITE,LINETHICK4,CROSSDOT;
通達信超平滑macd背底買賣指標公式實例圖解:
通達信超平滑macd背底買賣指標公式