您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:变色KDJ指标(副图、源码)

变色KDJ指标(副图、源码)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-05-22 10:09:00
公式简介:

RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
STICKLINE(AA1>AA2,AA1,AA2,2,1),COLORFF00FF;
STICKLINE(AA1<=AA2,AA1,AA2,2,1),COLORFFFF00;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
STICKLINE(BB1>BB2,BB1,BB2,2,0),COLOR0000FF;
STICKLINE(BB1<=BB2,BB1,BB2,2,0),COLOR00FF00;
DD:=AA1>AA2 AND BB1>BB2;
注意买入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0,COLOR0000FF;
DRAWICON(注意买入,-5,1);
注意卖出:REF(DD,1)=1 AND NOT(DD),LINETHICK0,COLOR00FF00;
DRAWICON(注意卖出,105,9);
RSV001:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K001:=(SMA(RSV001,3,1));
D001:=(SMA(K001,3,1));
J001:=(3*K001-2*D001);
XG:=K001<20 AND D001<20;
进:IF((XG=0),30,0),COLORGREEN,LINETHICK1;
A4:=MA(CLOSE,20);
A5:=(CLOSE>MA(CLOSE,5));
A6:=(MA(CLOSE,5)>MA(CLOSE,10));
A7:=(CLOSE>MA(CLOSE,10));
A8:=(MA(CLOSE,5)>MA(CLOSE,20));
A9:=(CLOSE>MA
(CLOSE,20));
A10:=REF(A4,1);A11:=(A4 > A10);
AVX:(((((IF(A5,10,(0 - 10)) + IF
(A6,10,(0 - 10))) + IF(A7,10,(0 -
10))) + IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 - 10)))*0.5,COLORWHITE;
AVX零轴:0,COLORWHITE;

MB1:=EMA(WINNER(C)*100,5),COLORYELLOW;
MB2:=EMA(MB1,2),COLORBLUE;
MB3:=EMA(MB2,2),COLORBLUE;
MB4:=EMA(MB3,2),COLORBLUE;
;
N:=5;
VAR2:=MB1;
VAR3:=DRAWLINE(VAR2>=HHV(VAR2,N)=1,VAR2,VAR2<=LLV(VAR2,N)=1,VAR2,1);
XG1:=REF(VAR2,1)=REF(VAR3,1) AND VAR2>REF(VAR2,1);
STICKLINE(VAR2=VAR3 AND VAR2<MB4,VAR2,VAR2+10,1,0)COLORYELLOW;
STICKLINE(XG1,VAR2,VAR2+10,1,0),COLORRED;
 


 



[url=http://www.goodgupiao.com/gupiaogongshi/13879.html][B]变色KDJ指标(副图、源码)[/B][/url]