通達信MACD精準買賣指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2024-02-19 來源:互聯(lián)網(wǎng)
通達信MACD精準買賣指標公式:
N:=9;M1:=3;M2:=3;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
VAR6:=MA(VAR5,3);
MACD: VAR6*5,COLORSTICK ,LINETHICK2 ;
提醒: STICKLINE(VAR6<=-6,0,-25,5,0), COLOR88B7EA ;
關注: STICKLINE(VAR6<=-8,5,25,7,0), ;
出擊: STICKLINE(VAR6<=-10,80,100,5,0), COLORYELLOW;
警戒雷達: IF(VAR6<-6,20,0),LINETHICK3 , COLORFF0000;
引導雷達: STICKLINE(VAR6<=-10,65,35,4,0),;
制導雷達: STICKLINE(VAR6<=-10,40,0,4,0), COLORRED;
發(fā)射: STICKLINE(VAR6<=-10,80,30,3,0), COLORGREEN;
導彈: STICKLINE(VAR6<=-10,80,60,3,0), COLORWHITE;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
底: 20,LINETHICK1 , COLOR77AA1A;
入頂: 80,LINETHICK1 , COLOR9966FF;
大頂: 100,LINETHICK1 ,COLOR22A6E6;
通達信MACD精準買賣指標公式實例圖解:
通達信MACD精準買賣指標公式