通達信趨勢整合啟動買點指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 龍系
- 畫線方法: 副圖
- 日期:2024-11-15 來源:互聯網
通達信趨勢整合啟動買點指標公式:
LOWV1:=EMA(LLV(LOW,34),3);
HIGHV1:=EMA(HHV(HIGH,34),3);
RSV1:=EMA((CLOSE-LOWV1)/(HIGHV1-LOWV1)*100,3);
長線1:SMA(RSV1,8,1),COLORMAGENTA,LINETHICK1,NODRAW;
長線2:SMA(長線1,6,1),COLORGRAY,LINETHICK1,NODRAW;
DRAWBAND(長線1,RGB(200,0,200),長線2,RGB(100,100,100));
50,COLORRED,LINETHICK2;
105,COLORFF7F00,DOTLINE;
{強勢有效}
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
短線買點:=CROSS(((DIFF1-EMA(DIFF1,9))*10-REF((DIFF1-EMA(DIFF1,9))*10,1)),1) AND (DIFF1-EMA(DIFF1,9))*10>1;
STICKLINE(短線買點>0,0,45,1.3,0),COLOR008888;
STICKLINE(短線買點>0,0,45,0.9,0),COLOR00AAAA;
STICKLINE(短線買點>0,0,45,0.6,0),COLOR00DDDD;
STICKLINE(短線買點>0,0,45,0.2,0),COLOR00FFFF;
DRAWTEXT(短線買點>0,43,'☆預警'),COLOR00FFFF,LINETHICK1;
0,COLORWHITE,LINETHICK1;
{KDJ短線}
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
短線2:SMA(RSV,3,1),COLORWHITE,LINETHICK2;
D:=SMA(短線2,3,1),COLOR00FFFF,LINETHICK2;
{J線沒未來}
短線1:3*短線2-2*D,COLOR00FFFF,LINETHICK2;
IF(短線1<REF(短線1,1),短線1,DRAWNULL),COLORGREEN,LINETHICK2;
IF(短線1>REF(短線1,1),短線1,DRAWNULL),COLORRED,LINETHICK2;
{KDJ紅綠相交}
DRAWICON(CROSS(短線1,D) AND CROSS(短線1,短線2),0,25);
DRAWICON(CROSS(D,短線1) AND CROSS(短線2,短線1),110,27);
{KKDD紅綠箭頭}
DRAWICON(CROSS(長線1,長線2),長線2,1);
DRAWICON(CROSS(長線2,長線1),長線2,2);
{橫盤啟動}
LOWV:=LLV(LOW,15); {15天內的最低價}
HIGHV:=HHV(HIGH,15); {15天內的最高價}
HIGHVV:=HHV(HIGH,40); {40天內的最高價}
V0:=V; {當天的成交量}
V1:=REF(V,1); {一天前的成交量}
V2:=REF(V,2); {兩天前的成交量}
V3:=REF(V,3); {三天前的成交量}
HV22:=HHV(V,35); {35天內的最大成交量}
D0U:=C>O; {今天是陽線}
D1U:=REF(C,1)>=REF(C,2); {昨天是陽線}
橫盤:=((HIGHV-LOWV)/HIGHV)<0.15; {半個月內價格波動小于15%}
放量1:=V0>=(1.8*((V1+V2+V3)/3)); {今天量是前三天均量的1.8倍}
放量2:=V0<=(3.8*V1); { 今天的量在昨天量的四倍范圍內}
今天陽線:=D0U; {今天是陽線}
昨天陽線:=D1U; {昨天是陽線}
今天中陽:=(C-REF(C,1))/REF(C,1)>=0.018; {今天漲幅大于1.8%}
開盤非最高價:=C<=HIGHVV; {收盤非40天內最高價}
收盤非最高價:=O<=HIGHVV; {開盤非40天內最高價}
非最大成交量:=V0<HV22; {非一個月內最高成交量}
啟動突破:=橫盤 AND 放量1 AND 放量2 AND 今天陽線 AND 昨天陽線 AND 今天中陽 AND 開盤非最高價 AND 收盤非最高價 AND
非最大成交量;
IF(啟動突破>0,48,0),COLORWHITE,LINETHICK2;
DRAWTEXT(啟動突破>0,45,'啟動'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,55,'↓弱'),COLORGREEN;
DRAWTEXT(ISLASTBAR,5,'準備'),COLORCYAN;
20,COLOR4080FF,DOTLINE;
DRAWTEXT(ISLASTBAR,25,'關注'),COLOR4080FF;
40,COLOR00FFFF,DOTLINE;
60,COLORLIRED,DOTLINE;
DRAWTEXT(ISLASTBAR,65,'↑強'),COLORRED;
85,COLORA943FF,DOTLINE;
DRAWTEXT(ISLASTBAR,90,'強勢'),COLORRED;
通達信趨勢整合啟動買點指標公式實例圖解:
通達信趨勢整合啟動買點指標公式