通達信換手解盤指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2024-05-21 來源:互聯網
通達信換手解盤指標公式:
中盤:FINANCE(7)<1000000000 AND FINANCE(7)>100000000,COLORYELLOW,NODRAW;
小盤:FINANCE(7)<100000000,COLORWHITE,NODRAW;
盤小績優:FINANCE(7)<1000000000 AND DYNAINFO(39)>0 AND DYNAINFO(39)<=28,COLOR9933FF,NODRAW;
_10日漲跌%:(C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
{K線部分}
MA3:=MA(C,3);
MA10:=MA(C,10);
MA15:=MA(C,15);
MA21:=MA(C,21);
MA30:=MA(C,30);
VL:=VOL;
V3:=MA(VL,3);
V5:=MA(VL,5);
V13:=MA(VL,13);
V60:=MA(VL,60);
V135:=MA(VL,135);
量比:=V/(REF(MA(V,5),1)),LINETHICK0,COLORRED,NODRAW;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
虛擬量比:=VVOL/(REF(MA(V,5),1)),COLORRED,NODRAW;
獲利比%:WINNER(C)*100,COLORLIBLUE,NODRAW;
換手:=VOL/CAPITAL*100, COLORMAGENTA,NODRAW;
十換:=SUM(換手,10),COLORYELLOW,NODRAW;
N:=3;
量能:=SUM(換手,N);
ZL漲幅:=100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N);
{換手分類}
STICKLINE(C,0,換手*2,2,0),COLOR408080;
STICKLINE(換手<1,1,換手*2,2,0),COLORGREEN;{綠.地量區}
STICKLINE(換手>=1,2,換手*2,2,0),COLORBROWN;{棕.冷門股}
STICKLINE(換手>2,4,換手*2,2,0),COLORLIGRAY;{淡灰.備份股}
STICKLINE(換手>3,6,換手*2,2,0),COLORYELLOW;{黃.熱門股}
STICKLINE(換手>5,8,換手*2,2,0),COLORRED;{紅.活躍}
STICKLINE(換手>7,10,換手*2,2,0),COLORMAGENTA;{洋紅.帶量活躍}
STICKLINE(換手>10,12,換手*2,2,0),COLORLIRED;{淡紅.放量極活躍}
STICKLINE(換手>15,14,換手*2,2,0),COLORCYAN;{青.巨量險中求}
STICKLINE(換手>25,16,換手*2,2,0),COLORBLUE;{藍.異常區}
2倍換手%:VOL/CAPITAL*100*2,COLORYELLOW;
十換縮2:SUM(換手,10)/2,COLORLICYAN,LINETHICK2;
{文字位置 }
ZGD:=HHV(十換縮2,60);
ZGD2:=CONST(ZGD);{文字位置 }
DRAWTEXT(CONST(換手<1)AND CURRBARSCOUNT=30,ZGD2,'綠.地量(換<1絕對地量)'),COLORGREEN;
DRAWTEXT(CONST(換手<=2 AND 換手>=1)AND CURRBARSCOUNT=30,ZGD2,'棕.冷清(換1<2,只看不動/屬冷門股)'),COLORBROWN;
DRAWTEXT(CONST(換手>2 AND 換手<3)AND CURRBARSCOUNT=30,ZGD2,'淡灰.溫和(換2<3,暫無方向/屬備份股)'),COLORLIGRAY;
DRAWTEXT(CONST(換手<5 AND 換手>3)AND CURRBARSCOUNT=30,ZGD2,'黃.交投漸活(換3<5,試探介入/屬熱門股)'),COLORYELLOW;
DRAWTEXT(CONST(換手<7 AND 換手>5)AND CURRBARSCOUNT=30,ZGD2,'紅.活躍(換5<7,初步帶量/小幅升或落)'),COLORRED;
DRAWTEXT(CONST(換手<10 AND 換手>7)AND CURRBARSCOUNT=30,ZGD2,'洋紅.帶量(換7<10,大舉介入/穩步升或落)'),COLORMAGENTA;
DRAWTEXT(CONST(換手<15 AND 換手>10)AND CURRBARSCOUNT=30,ZGD2,'淡紅.放量(換10<15,重點關注/大幅升或落)'),COLORLIRED;
DRAWTEXT(CONST(換手<25 AND 換手>15)AND CURRBARSCOUNT=30,ZGD2,'青.巨量(換15<25,短進中清倉/提防暴跌)'),COLORCYAN;
DRAWTEXT(CONST(換手>=25)AND CURRBARSCOUNT=30,ZGD2,'藍.異常(換>25,強勢漲高點不遠/不強勢漲大跌在即)'),COLORBLUE;
{DRAWTEXT(CONST(量能>3*N AND 漲幅1>3*N)AND CURRBARSCOUNT=30,15,'繼續大漲!'),COLORLIGRAY;
DRAWTEXT(CONST(量能<0.5*N AND 漲幅1<N )AND CURRBARSCOUNT=30,10,'繼續小漲!'),COLORLIGRAY;
DRAWTEXT(CONST(量能<0.5*N AND 漲幅1>-N AND 漲幅1>0 )AND CURRBARSCOUNT=30,ZGD2*0.9,'量能不配合,繼續小跌!'),COLORLIGRAY;
DRAWTEXT(CONST(量能>3*N AND 漲幅1<-3*N)AND CURRBARSCOUNT=30,ZGD2*0.9,'量能不理想,繼續大跌!)'),COLORLIGRAY; }
DRAWTEXT(CONST((量能>3*N AND ZL漲幅<N) OR (量能<0.5*N AND ZL漲幅>3*N)
OR (量能>3*N AND ZL漲幅>-N AND ZL漲幅<0) OR (量能<0.5*N AND ZL漲幅<-3*N))AND CURRBARSCOUNT=30,ZGD2*0.9,'注意反轉!)'),COLORLIGRAY;
{最上直線方塊20換和十均換 }
STICKLINE(SUM(V/CAPITAL*100,20)>80,ZGD2*1.1,ZGD2*1.12,2,0),COLORYELLOW;{黃.20換>80 }
STICKLINE(SUM(V/CAPITAL*100,10)/10>3,ZGD2,ZGD2*1.02,2,0),COLORWHITE;{白.十均換>3/有莊家,高拋低吸 }
STICKLINE(SUM(V/CAPITAL*100,10)/10>5,ZGD2,ZGD2*1.02,2,0),COLORRED; {紅.十均換>5/莊家強勢 }
{0軸下方框.量比和起漲點}
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;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DIF趨勢:=DEA>REF(DEA,1);
DIF趨勢2:=DEA<REF(DEA,1);
M5:=MA(CLOSE,5);
A1:=M5>=MA10 OR CROSS(M5,MA10) OR (C>MA10 AND MA10>M5);
漲幅%:=(C-REF(C,1))/REF(C,1)*100,LINETHICK0;
換手率%:=VOL/CAPITAL*100*2,COLORYELLOW;
換手率%1:=換手率%>5;
量比1:=量比>1.5 OR 虛擬量比>1.5;
獲利比例%1:=獲利比%>70;{籌碼有較好的集中還要區別是籌碼低位集中,還是高位集中 }
漲幅%1:=漲幅%>3;
啟動:=換手率%1 AND 量比1 AND 獲利比例%1 AND 漲幅%1 AND A1 AND K<60 AND DIF趨勢 ;
爆漲點:=IF(啟動,60,0)COLORWHITE,LINETHICK1;
啟動2:=換手率%1 AND 量比1 AND 獲利比例%1 AND 漲幅%1 AND A1 AND (K>70 OR DIF趨勢2) ;
量能頂:=IF(啟動2,60,0)COLORWHITE,LINETHICK1;
STICKLINE(FILTER(爆漲點=60,3),-0.5,-4,2,0),COLORRED;{紅.爆漲點}
STICKLINE(FILTER(量能頂=60,3),-0.5,-4,2,0),COLORGREEN;{綠.量能頂}
STICKLINE(量比>1,-0.5,-1.5,1,1),COLORGRAY;{灰.量比>1 }
STICKLINE(量比>2,-0.5,-1.5,1,1),COLORCYAN;{青.量比>2 }
{0軸下下為波段信號}
{黃金反彈 }
RSVH:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KKKH:=SMA(RSVH,3,1),COLORWHITE;
DDDH:=SMA(KKKH,3,1),COLORYELLOW ;
BIAS1:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
AA1H:=CROSS(KKKH,DDDH) AND CROSS(KKKH,DDDH)<16 AND BIAS1<-6;
K1H:=IF(KKKH>DDDH,6,0);
D1H:=IF(DDDH>KKKH,4,0);
黃金反彈:=IF(AA1H,40,0),COLORFF00FF;
{底下小方塊為短線走勢強弱信號}
STICKLINE(黃金反彈=40,-2,-4,2.1,0),COLORYELLOW;{黃背柱搶反彈 };
{主力進場 }
N1:=9;
N2:=5;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;
MAZL:=MA(ZLGJ,N2),COLORYELLOW;
主力進:=ZLGJ>REF(ZLGJ,1) OR ZLGJ>MAZL;
主力強勢:=ZLGJ>0;
{主升 }
均價:=(HIGH+LOW+CLOSE)/3;
個股趨勢:=SMA(((均價-LLV(均價,28))/(HHV(均價,28)-LLV(均價,28))*100),3,1),COLORYELLOW;
{綜合度 ; 秀山騰龍 ; TDX版}
DEA度:=IF(DEA>REF(DEA,1) AND DEA>0,2,IF(DEA>REF(DEA,1) AND DEA<0,1,0));
DIFF度:=IF(DIFF>DEA AND DEA>REF(DEA,1) AND DIFF>REF(DIFF,1),1,IF(DIFF>DEA AND DEA>REF(DEA,1) AND DIFF<REF
(DIFF,1),0.5,0));
MACD度:=IF(MACD>REF(MACD,1) AND MACD>0,1,IF(MACD>REF(MACD,1) AND MACD<0,0.5,0));
M度:=DEA度+DIFF度+MACD度;
V35:=MA(V,35);
五日量:=SUM(V,5);
均量度:=IF(V>35 AND V35>REF(V35,1),2,IF(V<V35 AND V35>REF(V35,1),1,0));
增量度:=IF(五日量>REF(五日量,1),1,0);
量度:=均量度+增量度;
TRR:=SMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(L-REF(C,1))),14,1);
HDD:=H-REF(H,1);
LDD:=REF(L,1)-L;
DMP:=SMA(IF(HDD>0 AND HDD>LDD,HDD,0),6,1);
DMM:=SMA(IF(LDD>0 AND LDD>HDD,LDD,0),6,1);
PDI:=DMP*100/TRR;
MDI:=DMM*100/TRR;
PDI度:=IF(PDI>REF(PDI,1) AND PDI>MDI,1,IF(PDI>REF(PDI,1) AND PDI<MDI,0.5,0));
MDI度:=IF(MDI<REF(MDI,1) AND MDI<PDI,1,IF(MDI<REF(MDI,1) AND MDI>PDI,0.5,0));
DMI度:=PDI度+MDI度;
綜合度:=M度+量度+DMI度,COLORCYAN,NODRAW;
走強:=IF(綜合度>=5,綜合度,0);
走弱:=IF(綜合度<5,綜合度,0);
強勢線:=SMA(走強,3,1)*10,COLORYELLOW,DOTLINE;
弱勢線:=SMA(走弱,3,1),COLORGREEN,;
{啟動追漲}
QQ:=(((((MA(CLOSE,1) + MA(CLOSE,3)) + MA(CLOSE,5)) + MA(CLOSE,7)) + MA(CLOSE,9)) / 5);
WWD:=(((((MA(CLOSE,2) + MA(CLOSE,4)) + MA(CLOSE,6)) + MA(CLOSE,8)) + MA(CLOSE,10)) / 5);
AQ:=EMA(QQ,3);
BQ:=EMA(WWD,10);
VAR1Q:=EMA(AMOUNT,1)/EMA(VOL,1)/100;
AAQ:=DMA(AQ,VAR1Q);
BBQ:=DMA(BQ,VAR1Q);
VAR29Q:=MAX((2*(AAQ-BBQ)),0)*100;
拉升線:=EMA(VAR29Q,3),COLORFFFFFF,LINETHICK2;
MAD:=DIFF>REF(DIFF,1);
VAR2GD:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
做多能量:=SMA(VAR2GD,5,1),LINETHICK2,COLORRED;
MAV:=(2*C+H+L)/4;
VAR1D:=LLV(LOW,34);
VAR2D:=HHV(HIGH,34);
SK:= EMA((MAV-VAR1D)/(VAR2D-VAR1D)*100,13);
SD:= EMA(0.667*REF(SK,1)+0.333*SK,2);
M11:=MA(C,10);
M1:=M11>REF(M11,1);
MD:=SD>REF(SD,1);
個股趨勢2:=個股趨勢>REF(個股趨勢,1);
主升:=拉升線>REF(拉升線,1)OR 個股趨勢2 OR 強勢線>REF(強勢線,1)AND 做多能量>REF(做多能量,1)AND MD AND M1 AND MAD;
STICKLINE(主力進,-2.5,-3.5,4,0),COLORRED;{0軸下紅/主力進 }
STICKLINE(ZLGJ<REF(ZLGJ,1) OR ZLGJ<MAZL,-2.5,-3.5,4,0),COLOR00FF00;{0軸下綠/主力出 }
STICKLINE(主升,-2.5,-3.5,0.5,0),COLORYELLOW;{0軸下黃/主力強升};
{夢的海洋10 /換手率狀態看強莊 }
量能飽和:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW,COLORWHITE;
{【十九強】:量價角度定強弱;}
MV3:=EMA(V,3);
M3:=EMA(C,3);
MV3角度:=ATAN((MV3/REF(MV3,1)-1)*100)*180/3.1416;
MA3角度:=ATAN((M3/REF(M3,1)-1)*100)*180/3.1416;
MV5:=EMA(V,5);
MA5:=EMA(C,5);
MV5角度:=ATAN((MV5/REF(MV5,1)-1)*100)*180/3.1416;
MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
MV10:=EMA(V,10);
M10:=EMA(C,10);
MV10角度:=ATAN((MV10/REF(MV10,1)-1)*100)*180/3.1416;
MA10角度:=ATAN((M10/REF(M10,1)-1)*100)*180/3.1416;
強弱度1:=(MV3角度+MA3角度+MV5角度+MA5角度+MV10角度+MA10角度)/6,COLORFFFFFF,NODRAW;
強弱度:=MA(強弱度1,3),COLORCYAN,NODRAW;
STICKLINE(量能飽和>30 AND 強弱度>1 AND C>MA(C,5) OR C>MA(C,10),換手*2,十換縮2,0.5,1),COLORMAGENTA;{洋紅柱.量能飽和區}
STICKLINE(十換縮2>20/2,十換縮2*0.98,十換縮2,2,0),COLORWHITE;{十換線上黃點.有莊家可做高拋低吸 }
STICKLINE(十換縮2>60/2,十換縮2*0.98,十換縮2,2,0),COLORRED; {十換線上紅點.強勢股 };
{量價齊升解盤}
B:=SMA((3*H+2*C+O+L)/7,10,1);
W1:=-100*(HHV(HHV(B,1),13)-B)/(HHV(HHV(B,1),13)-LLV(LLV(B,1),13));
W2:=-100*(HHV(HHV(B,1),34)-B)/(HHV(HHV(B,1),34)-LLV(LLV(B,1),34));
W3:=-100*(HHV(HHV(B,1),55)-B)/(HHV(HHV(B,1),55)-LLV(LLV(B,1),55));
W4:=-100*(HHV(HHV(B,1),5)-B)/(HHV(HHV(B,1),5)-LLV(LLV(B,1),5));
價格WR:=(W1+W2+W3+W4)/4;
A:=SMA(VOL,10,1);
WR1:=-100*(HHV(HHV(A,1),13)-A)/(HHV(HHV(A,1),13)-LLV(LLV(A,1),13));
WR2:=-100*(HHV(HHV(A,1),34)-A)/(HHV(HHV(A,1),34)-LLV(LLV(A,1),34));
WR3:=-100*(HHV(HHV(A,1),55)-A)/(HHV(HHV(A,1),55)-LLV(LLV(A,1),55));
WR4:=-100*(HHV(HHV(A,1),5)-A)/(HHV(HHV(A,1),5)-LLV(LLV(A,1),5));
量WR:=(WR1+WR2+WR3+WR4)/4;
WR:=-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
多空平衡:=-50;
MA55:=MA(C,55);
MA1:=MA(VOL,5);
DRAWTEXT((CONST(IF(CLOSE>=MA(CLOSE,13),1,0))) AND CURRBARSCOUNT=60,ZGD2*1.25,'●短持股'),COLORRED;
DRAWTEXT((CONST(IF(CLOSE<MA(CLOSE,13) AND C<MA(CLOSE,5),1,0))) AND CURRBARSCOUNT=60,ZGD2*1.25,'●短持幣'),COLORGREEN;
DRAWTEXT(CONST(REF(價格WR,3) AND REF(價格WR,1)<價格WR) AND CURRBARSCOUNT=55,ZGD2*1.25,'●量價轉多;'),COLORRED;
DRAWTEXT(CONST(REF(價格WR,3)>REF(價格WR,2) AND REF(價格WR,2)>REF(價格WR,1) AND REF(價格WR,1)>價格WR)
AND CURRBARSCOUNT=55,ZGD2*1.25,'●量價轉空;'),COLORFF00FF;
DRAWTEXT(CONST(價格WR=-100)AND CURRBARSCOUNT=50,ZGD2*1.25,'●量價很弱不碰!'),COLORFF00FF ;
DRAWTEXT((CONST(V5>REF(V5,1)*1.015)) AND CURRBARSCOUNT=60,ZGD2*1.1,'●5量線強勁向上;'),COLORYELLOW;
DRAWTEXT((CONST(V3>V60)) AND CURRBARSCOUNT=53,ZGD2*1.1,'●3量線>60量線!'),COLORYELLOW;
DRAWTEXT((CONST(CROSS(V5,V35))) AND CURRBARSCOUNT=46,ZGD2*1.1,'●今日V5金叉V35;'),COLORYELLOW;
DRAWTEXT((CONST(CROSS(V5,V135))) AND CURRBARSCOUNT=39,ZGD2*1.1,'●今日V5金叉V135;'),COLORYELLOW;
通達信換手解盤指標公式實例圖解:
通達信換手解盤指標公式