通達信三線發散持股做多指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2021-10-08 來源:互聯網
通達信三線發散持股做多指標公式:
線A1:=(MA(VOL,5)+MA(VOL,10)+MA(VOL,25))/3,COLOR00FF00;
線A2:=(MA(VOL,5)+MA(VOL,10)+MA(VOL,20)+MA(VOL,60)+MA(VOL,120))/5,COLOR00FF00;
線A3:=(MA(VOL,20)+MA(VOL,60)+MA(VOL,120))/3,COLOR00FF00,LINETHICK2;
ZX:2*(線A1-線A2), COLORSTICK;STICKLINE(線A1>線A3,線A1,線A3,0.1,1),COLORFF0080;
STICKLINE(線A1<=線A3,線A1,線A3,0.1,1),COLOR22CC33;
線1:IF(線A1<線A3,線A1,線A3),COLOR00FF00;
IF(線A1<線A3,線A3,線A1),COLORRED;
線2:IF(線A2<線A3,線A2,線A3),COLOR00FF00;
IF(線A2<線A3,線A3,線A2),COLORRED;
線3:IF(線A3<線A1,線A3,線A3),COLOR00FF00,LINETHICK2;
IF(線A1<線A3,線A3,線A3),COLORRED,LINETHICK2;
DIFF:=EMA(CLOSE,26) - EMA(CLOSE,12);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA), COLORSTICK;
MACD金叉:IF(CROSS(DIFF,DEA),MACD-0.02,0),COLORFF00FF,POINTDOT;
DRAWTEXT(CROSS(DIFF,DEA),MACD-0.03,'●'),COLORFF00FF;
TYP := (HIGH + LOW + CLOSE)/3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;
JK金叉:IF(CROSS(J,K),MACD-0.02,0),COLORYELLOW,POINTDOT;
DRAWTEXT(CROSS(J,K),MACD-0.03,'●'),COLORYELLOW;
上漲缺口:IF(L>REF(H,1),MACD-0.01,0),COLORRED,POINTDOT;
DRAWTEXT(L>REF(H,1),REF(H,1),'☆'),COLORRED;
通達信三線發散持股做多指標公式實例圖解:
通達信三線發散持股做多指標公式