通达信源码 通达信获利KDJ源码
2014-11-21 9:30:57 股票入门 http://rumen.southmoney.com
求高手做选股条件是 k线脱离弱势区以后 也就是 股价在50以上的时候 j值大于昨天的j值
{获利KDJ}
DRAWBAND(50,RGB(50,50,100),0,RGB(0,0,0));
NOTEXT100:100,COLORGRAY;
NOTEXT90:90,COLORGRAY,DOTLINE;
NOTEXT80:80,COLORGREEN,DOTLINE;
NOTEXT70:=70,COLORGRAY,DOTLINE;
NOTEXT60:=60,COLORGRAY,DOTLINE;
NOTEXT50:50,COLORGRAY;
NOTEXT40:=40,COLORGRAY,DOTLINE;
NOTEXT30:=30,COLORGRAY,DOTLINE;
NOTEXT20:20,COLORGREEN,DOTLINE;
NOTEXT10:=10,COLORGRAY,DOTLINE;
NOTEXT0:0,COLORGRAY;
NOTEXT120:120,COLORBLACK;
NOTEXTD20:-20,COLORBLACK;
CH:=WINNER(H)*100;
CO:=WINNER(O)*100;
CL:=WINNER(L)*100;
CC:=WINNER(C)*100,NODRAW;
DRAWKLINE(CH,CO,CL,CC);
STICKLINE(CC=100,CC,CO,0.5,0),COLORYELLOW;
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),COLORWHITE,LINETHICK1;
D:SMA(K,M2,1),COLORCYAN,LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
NOTEXTA:IF(J《0,J,DRAWNULL),COLORGREEN,LINETHICK1;
NOTEXTB:IF(J》100,J,DRAWNULL),COLORGREEN,LINETHICK1;
TJ:=CURRBARSCOUNT=25;
DRAWTEXT(TJ,25,‘→弱势区、不介入’),COLORFFFFFF;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。