通达信公式源码 通达信运用KDJ底背离指标战法强势回调抓买点指标公式
2015-4-16 9:51:09 股票入门 http://rumen.southmoney.com
通达信公式源码 通达信运用KDJ底背离指标战法强势回调抓买点指标公式:
指标用好了抓强势牛股回调成功率在80%以上。
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
STICKLINE(J《0,J,0,1,0),COLORRED;
STICKLINE(J》100,J,100,1,0),COLORGREEN;
A1:=BARSLAST(REF(CROSS(K,D),1));
底背离:=REF(CLOSE,A1+1)》CLOSE AND K》REF(K,A1+1) AND CROSS(K,D);
底背:DRAWLINE(A1=0,D,底背离,D,0),COLORRED,LINETHICK2;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:=REF(CLOSE,A2+1)《CLOSE AND REF(K,A2+1)》K AND CROSS(D,K);
顶背:DRAWLINE(A2=0,D,顶背离,D,0),COLORGREEN,LINETHICK2;
50;
买点准备: IF(J《=10,50,0),COLORFFFFFF;
买入时间: IF(CROSS(J,2),100,0),COLORGREEN,LINETHICK2;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR5:=EMA(IF(LOW=LLV(LOW,33),VAR3,0),3);
主力进场:STICKLINE(VAR5》REF(VAR5,1),0,VAR5,7,0 ),COLORWHITE;
主力洗盘:STICKLINE(VAR5《REF(VAR5,1),0,VAR5,7,0 ),COLORFF9900;
中线KDJ选股:CROSS(J,2),COLORRED,LINETHICK2;
{RSI4}
LC:=REF(CLOSE,1);
RSI4:=((SMA(MAX(CLOSE - LC,0),4.1,1))/(SMA(ABS(CLOSE - LC),4.1,1)))*(100);
RSI蛮准:(CROSS(RSI4,11))*(80),COLORBLUE;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。