通達信換手量能多空分析指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 量能
- 畫線方法: 副圖
- 日期:2021-06-03 來源:互聯(lián)網(wǎng)
通達信換手量能多空分析指標公式:
X1:=EMA(C,20);
X2:=REF(X1,1);
廿日均線斜率:(X1-X2)/X2*100,NODRAW;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主買1:=(QJ0*(JJ-MIN(CLOSE,OPEN)));
主賣1:=(QJ0*(MIN(OPEN,CLOSE)-LOW));
散買:=(QJ0*(HIGH-MAX(OPEN,CLOSE)));
散賣:=(QJ0*(MAX(CLOSE,OPEN)-JJ));
PHD:=25;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
N:=11;
HSL:=VOL/CAPITAL*100;
量能:=SUM(HSL,N);
漲幅1:=100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N);
MA13:=MA(CLOSE,13);
MA75:=MA(CLOSE,75);
LC:=REF(C,1);
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1);
D9:=SMA(K9,3,1);
J9:=3*K9-2*D9;
VAR1:=DYNAINFO(17)*REF(MA(V,5),1);
VAR2:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
VAR3:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR1,VAR2);
預(yù)量:=IF(V>=VAR3 AND PERIOD=5,V,VAR3);
比:=預(yù)量/V;
買盤:=DYNAINFO(23)*比;
賣盤:=DYNAINFO(22)*比;
壓力1:=MA(C,26)+2*STD(C,26);
YYY:=EMA((INDEXC-LLV(INDEXL,11))/(HHV(INDEXH,25)-LLV(INDEXL,11))*4,8)+1;
YY:=POW(YYY,2)-10;
XXX:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)+1;
XX:=IF(1=1,POW(XXX,2)-10,DRAWNULL);
量能2:=SUM(HSL,3);
漲幅A:=(C-REF(C,3))/REF(C,3)*100;
流通市值:=CAPITAL*C;{流通市值相對越小,漲幅越大,相對越大,漲幅越小}
BB1:=REF(CLOSE,1);
BB2:=SMA(MAX(CLOSE-BB1,0),7,1)/SMA(ABS(CLOSE-BB1),7,1)*100;
CC1:=WINNER(CLOSE)*100;
CC2:=100-BB1;
CC3:=ABS(BB1-BB2);
TD:=BACKSET(ISLASTBAR,1);
NX:=IF(EMA(C,3)>MAX(EMA(C,13),EMA(C,55)),1,IF(EMA(C,3)<MIN(EMA(C,13),EMA(C,55)),-1,0));
DRAWBAND(100,RGB(50,50,0),0,RGB(0,0,0));
莊凈入:IF((主買1-主賣1)>0,主買1-主賣1,0)/10000,COLORRED,NODRAW;
莊凈出:IF((主買1-主賣1)<0,主買1-主賣1,0)/10000,COLORGREEN,NODRAW;
散凈入:IF((散買-散賣)>0,散買-散賣,0)/10000,COLORGREEN,NODRAW;
散凈出:IF((散買-散賣)<0,散買-散賣,0)/10000,COLORRED,NODRAW;
量能飽和度:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;
預(yù)計換手:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1))/CAPITAL*100,0),NODRAW;
十日換手平均:MA(HSL,10),NODRAW;
活躍度:IF(DATE>1000101,(MA(VOL,11)+MA(VOL,11*2)+MA(VOL,11*3)+MA(VOL,11*4))/4/CAPITAL*1000,1),NODRAW;
STICKLINE(TD,CC1,0,5,0 ),COLORRED;
STICKLINE(TD,CC2,0,3,0 ),COLORYELLOW;
STICKLINE(TD,CC3,0,1,0),COLORMAGENTA;
牛:IF(NX=1 AND V>1,12,0),LINETHICK4,COLORRED;
熊:STICKLINE(NX=-1 AND V>1,0,4,2,0)COLORYELLOW;
馬:STICKLINE(NX=0 AND V>1,0,4,2,0)COLORMAGENTA;
STICKLINE(NX=1 AND V>1,0,4,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=PHD,30*1.9,30*1.5,100,1),COLOR00DDDD;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=PHD,30*1.88,30*1.52,量能飽和度,0),COLOR0033FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=PHD,30*1.82,30*1.58,量能飽和度,0),COLOR0077FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=PHD,30*1.76,30*1.64,量能飽和度,0),COLOR0099FF;
STICKLINE(CLOSE>OPEN AND CURRBARSCOUNT=PHD,30*1.7,30*1.7,量能飽和度,0),COLOR00DDFF;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=PHD,30*1.88,30*1.52,量能飽和度,0),COLORFF7700;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=PHD,30*1.82,30*1.58,量能飽和度,0),COLORFF9900;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=PHD,30*1.76,30*1.64,量能飽和度,0),COLORFFBB00;
STICKLINE(CLOSE<OPEN AND CURRBARSCOUNT=PHD,30*1.71,30*1.69,量能飽和度,0),COLORCYAN;
DRAWTEXT(HSL<=2 AND ISLASTBAR,50,' 少人關(guān)注');
DRAWTEXT(HSL>2 AND HSL<3 AND ISLASTBAR,50,' 成交溫和');
DRAWTEXT(HSL>3 AND HSL<5 AND ISLASTBAR,50,' 交投活躍');
DRAWTEXT(HSL>5 AND HSL<8 AND ISLASTBAR,50,' 帶量');
DRAWTEXT(HSL>8 AND HSL<15 AND ISLASTBAR,50,' 放量');
DRAWTEXT(HSL>15 AND HSL<25 AND ISLASTBAR,50,' 巨量');
DRAWTEXT(HSL>=25 AND ISLASTBAR,50,' 成交怪異');
DRAWTEXT(量能>3*N AND 漲幅1>3*N AND ISLASTBAR,30,' 繼續(xù)大漲');
DRAWTEXT(量能<0.5*N AND 漲幅1<N AND ISLASTBAR,30,' 繼續(xù)小漲');
DRAWTEXT(量能<0.5*N AND 漲幅1>-N AND 漲幅1>0 AND ISLASTBAR,10,' 繼續(xù)小跌');
DRAWTEXT(量能>3*N AND 漲幅1<-3*N AND ISLASTBAR,30,' 繼續(xù)大跌');
DRAWTEXT(((量能>3*N AND 漲幅1<N) OR (量能<0.5*N AND 漲幅1>3*N)OR (量能>3*N AND 漲幅1>-N AND 漲幅1<0) OR (量能<0.5*N AND 漲幅1<-3*N))AND ISLASTBAR,5,' 注意反轉(zhuǎn)');
STICKLINE(CURRBARSCOUNT=53 ,100,0,88,0),COLOR333344;
DRAWTEXT(V/CAPITAL>0.075 AND CURRBARSCOUNT=59,80,'換手過大,小心主力出逃,短期頭部'),COLORFFFF00;
DRAWTEXT(漲幅A>0 AND CURRBARSCOUNT=59,90,'流通市值減小,漲幅加大');
DRAWTEXT(漲幅A<=0 AND CURRBARSCOUNT=59,90,'流通市值加大,漲幅減小');
DRAWTEXT(CURRBARSCOUNT=59,60,'牛大于馬,則后市見頂?shù)母怕瘦^大'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,50,'熊大于馬,則后市見底或有反彈概率較大'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,40,'股態(tài): 紅色=牛 黃色=熊 洋紅色=馬'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,20,'斜率大勝率越大,>1.5勝率超7成, <0.3可買跌'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=59,10,'斜率0.5-1要選熱門,1-1.5選活躍股勝率較大'),COLORGREEN;
DRAWTEXT(活躍度>=41 AND ISLASTBAR,80,' 熱門股'),COLORGREEN;
DRAWTEXT(活躍度>20 AND 活躍度<=40 AND ISLASTBAR,80,' 活躍股'),COLORGREEN;
DRAWTEXT(活躍度<=20 AND ISLASTBAR,80,' 冷門股'),COLORGREEN;
通達信換手量能多空分析指標公式實例圖解:
通達信換手量能多空分析指標公式