通達信發(fā)動機波段買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2021-05-26 來源:互聯(lián)網(wǎng)
通達信發(fā)動機波段買賣指標公式:
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
能量線:YJD;{探測能量動力,很像KDJ公式的J值}
中:=0;
{PARTLINE(YJD,中線);}
DRAWTEXT(CROSS(YJD,中),0,'●'),COLORRED;{買入點3}
VAR7:=(1.1)*CLOSE;
VAR8:=(0.9)*CLOSE;
VAR9:=100*(WINNER(VAR7)-WINNER(VAR8));
能量線1:=能量線>=0;
能量線2:=能量線<=0;
{原 莊家克星的抄底逃頂公式 將山水線改名拋留線,去掉倒影線}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,4);
SK:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,4);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,2);
SJ:=2*SK-1*SD;
SKD差:SK-SD,COLORRED,NODRAW;
VAR4:=(HHV(HIGH,4)-VAR1)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
{倒影: SMA(VAR4,4,1),COLOR889999,LINESTICK;}
VAR5:=(VAR1-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
VAR6:=SMA(VAR5,2,1);
拋留線:SMA(VAR6,2,1),COLOR889999,LINESTICK;
DRAWBAND(能量線,RGB(255,48,48),能量線1,RGB(0,148,48));
金叉:IF(CROSS(SK,SD)AND 拋留線<35,拋留線,0),COLORFFFFFF,LINETHICK2;{買入點1}
金叉1:IF(CROSS(SK,SD)AND SK<50,20,0),COLORRED,LINETHICK2;{買入點2}
STICKLINE(CROSS(金叉,0.1),80,-80,0,0),COLORFFFFFF;
線:SMA(VAR6,2,1),COLOR889999;
IF(拋留線>REF(拋留線,1),拋留線,DRAWNULL),COLORRED,LINETHICK2;
IF(拋留線<REF(拋留線,1),拋留線,DRAWNULL),COLORWHITE,LINETHICK2;{紅留,變白一定賣}
{PARTLINE(倒影,倒影<REF(倒影,1),RGB(0,255,0),倒影>REF(倒影,1),RGB(250,250,0)),LINETHICK2;}
IF(能量線>REF(能量線,1),能量線,DRAWNULL),COLORRED,LINETHICK2;
IF(能量線<REF(能量線,1),能量線,DRAWNULL),COLORYELLOW,LINETHICK2;{黃不進,變紅后市可看好}
STICKLINE(CROSS(能量線1,0.1),80,-80,0,0),COLOR0000FF;
頂線:80,COLORRED;
強勢:65,COLORFFFFFF,NODRAW;
STICKLINE(CLOSE>0,65,65,1.5,0),COLORFFFFFF;
轉(zhuǎn)勢:-65,COLORRED;
底線:-80,COLORGREEN;
DRAWTEXT(ISLASTBAR,頂線,' 80 頂線'),COLORRED;
DRAWTEXT(ISLASTBAR,強勢,' 65 強勢'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,中,' 00 中線'),COLOR00FFFF;
DRAWTEXT(ISLASTBAR,轉(zhuǎn)勢,' -65 轉(zhuǎn)勢'),COLORRED;
DRAWTEXT(ISLASTBAR,底線,' -80 底線'),COLORGREEN;
VAR10:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(VAR1,2.78)*1.028,COLORFFFFFF,LINETHICK1;
A9:=MA(OPEN,3.2)*1.028,COLORGREEN,LINETHICK1;
短線:=A8;
中線:=A9;
DRAWTEXT(CROSS(短線,中線),-65,'進'),COLORRED;
DRAWTEXT(CROSS(中線,短線),-65,'退'),COLORGREEN;
通達信發(fā)動機波段買賣指標公式實例圖解:
通達信發(fā)動機波段買賣指標公式