通達信機構絕密核心指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 策略
- 畫線方法: 副圖
- 日期:2021-09-09 來源:互聯(lián)網
通達信機構絕密核心指標公式:
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
最佳買入:=(AV + NEWVOL);
買入選股:IF(CROSS(最佳買入,0),4,0),STICK,COLOR00FFFF,LINETHICK2;
VARA1:=SMA(買入選股,3,1);
VARA2:=SMA(VARA1,3,1),COLOR0000FF;
VARA3:=SMA(VARA2,3,1),COLOR00FFFF;
建倉買點:IF(CROSS(VARA2,VARA3) AND (VARA2<40),5,0* 10000),COLOR0000FF,LINETHICK1;
STICKLINE(建倉買點,0,1.5,6,0),COLORFF80FF;
STICKLINE(建倉買點,0.5,2.8,2,0),COLOR3000FF;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 50);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
最佳買入時機: IF(CROSS(J,3),1,0),STICK,COLORFFFF00;
STICKLINE(最佳買入時機,0,1,3,0),COLOR009999;
STICKLINE(最佳買入時機,0,1,2,0),COLOR00DDDD;
STICKLINE(最佳買入時機,0,1,1,0),COLOR00FFFF;
機構建倉: IF(最佳買入<5,-0.5,0),STICK,COLOR00FF00,LINETHICK1;
機構建倉日:STICKLINE(機構建倉,0,-1,4,1),COLOR00FF00,LINETHICK5;
趨勢:3*SMA((CLOSE- LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORFF99FF,NODRAW;
備錢: IF(趨勢<=20,-0.8,0),COLORD0D0D0,STICK,LINETHICK3;
快買: IF(趨勢<=10,1,0),COLORFF38FF,STICK,LINETHICK3;
BIAS1:=(C-MA(C,6))/MA(C,6)*100,COLORFFDDCC;
BIAS2:(C-MA(C,13))/MA(C,13)*100,COLORFFFFFF,LINETHICK1;
BIAS3:=(C-MA(C,26))/MA(C,26)*100,COLORFFFFFF,LINETHICK1;
乖離:(BIAS1+2*BIAS2+3*BIAS3)/6,COLOR00FFFF;
乖離超限:MA(乖離,3),COLORFF80FF;
STICKLINE(CROSS(乖離,乖離超限) AND 乖離超限<-9,-4,0,1,1),COLORFFFFFF;
STICKLINE(CROSS(乖離超限,乖離) AND 乖離>10,6,0,3,0),COLORFF88FF;
DRAWBAND(MA(乖離,1),RGB(240,120,40),MA(乖離超限,1),RGB(256,200,20));
警跌:IF(BIAS2<REF(BIAS2,1),BIAS2,DRAWNULL),COLORFF6128,LINETHICK3;
回升:IF(BIAS2>REF(BIAS2,1),BIAS2,DRAWNULL),COLOR00FFFF,LINETHICK3;
R:SMA(MAX(CLOSE- REF(C,1),0),6,1)/SMA(ABS(CLOSE- REF(C,1)),6,1)*100,COLORFFCCFF,NODRAW;
R2:SMA(MAX(CLOSE- REF(C,1),0),13,1)/SMA(ABS(CLOSE- REF(C,1)),13,1)*100,COLOR00CCFF,NODRAW;
STICKLINE(CROSS(R2,R) AND R2>78,2,0,3,-1),COLOR30FFFF;
CC:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD:=L<MA(C,5)*0.921;
EE:=V<MA(V,5)*1.5;
老鼠倉:=(L<(AMOUNT/V)*0.9) AND CC AND DD AND EE,LINETHICK0,COLOR0099FF;
DRAWTEXT(老鼠倉,-5,'老鼠倉'),COLORFFFFFF;
選底:TROUGHBARS(3,15,1)<4,NODRAW;
DRAWTEXT(FILTER(選底=1,3),-2,'底部'),COLOR00FF00;
頭部:=IF((PEAKBARS(3,15,1)<10)=1,2,0);
快逃:=IF(頭部>REF(頭部,1),H,0),COLORWHITE,NODRAW;
DRAWTEXT(快逃=H,6,'頭部'),COLOR0000FF,LINETHICK1;
STICKLINE(CROSS(乖離,BIAS1) AND BIAS2>15,乖離,0,1,0),COLOR3300FF;
DRAWICON(CROSS(乖離,BIAS1*0.382),-1,1),COLORGREEN;
通達信機構絕密核心指標公式實例圖解:
通達信機構絕密核心指標公式