通達信多頭動能指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 量能
- 畫線方法: 副圖
- 日期:2024-09-09 來源:互聯網
通達信多頭動能指標公式:
STICKLINE(C>0,17,20,20,0),COLORBLUE;
STICKLINE(C>0,-16,-19,20,0),COLORBLUE;
STICKLINE(C>0,0,5,20,0),COLORBLUE;
STICKLINE(C>0,-5,5,20,0),COLORBLUE;
C1:=10*CLOSE/EMA(C,170),LINETHICK;
H1:=10*HIGH/EMA(H,170);
L1:=10*LOW/EMA(L,170);
FA:=5;FB:=10;FC:=MA(C1,3);FD:=MA(C1,10);FE:=MA(C1,20);FF:=MA(C1,30);FG:=MA(C1,60);
FH:=ABS(FC-FD)/MIN(FC,FD);FI:=ABS(FC-FE)/MIN(FC,FE);FJ:=ABS(FC-FF)/MIN(FC,FF);
FK:=ABS(FE-FD)/MIN(FE,FD);FL:=ABS(FF-FD)/MIN(FF,FD);FM:=ABS(FE-FF)/MIN(FE,FF);
FN:=MAX(MAX(MAX(FH,FI),MAX(FJ,FK)),MAX(FL,FM))*100,LINETHICK2;
FO:=EMA(FN,3),COLORWHITE;
決策線:=EMA((EMA(C1,3)*7+EMA(C1,7)*3)/10,13),COLOR18A4FF,LINETHICK2;
道2:=3*HHV(決策線,3)-2*決策線;
趨勢:=((EMA(C1,4)+EMA(C1,18))/2-(EMA(C1,15)+EMA(C1,42))/2),COLORWHITE,LINETHICK2;
中:=EMA(趨勢,9),COLOR00BB00,LINETHICK2;
MACD2:=2*(趨勢-中),LINETHICK;
VAR34:=((C1-LLV(L1,24))/(HHV(C1,24)-LLV(L1,24))*100);
K3:=SMA(VAR34,13,8),COLORFF8800;
D3:=SMA(K3,13,8),COLORFF8800,LINETHICK1;
J3:=3*K3-2*D3,COLORWHITE;
A1:=COUNT(FO>5 AND FN>FO AND C1>FE,28);
A2:=COUNT(決策線=道2,28);
A3:=COUNT(趨勢>REF(趨勢,1)AND 趨勢>中,28);
A4:=COUNT(J3>50 AND J3>D3,28),COLORWHITE;
多頭動能:(A1+A2+A3+A4)/4,COLOR9900FF,LINETHICK1;
M3:=SMA(多頭動能,13,8),COLOR00BB00,LINETHICK1;
SD: EMA(多頭動能,5), LINETHICK1 COLORGREEN;
XYZ12: (-多頭動能)*1,COLORLIBLUE LINETHICK1;
SD1: EMA(XYZ12,5), LINETHICK1 COLORGREEN;
通達信多頭動能指標公式實例圖解:
通達信多頭動能指標公式