KDJ高低点优化副图指标 源码 通达信 贴图
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:2.00 KB
更新时间:2019-03-02 10:24:00
公式简介:
根据传统指标KDJ优化而来
①有高低点判断,红色三角形买,绿色三角形卖。
②有底部区域和顶部区域
③有短期连续上升或连续下跌提示
DRAWGBK(O>C,RGB(40,40,40),RGB(0,0,40),0,'01',0); {背景不要可删除}
{传统KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE,LINETHICK1;
D:SMA(K,3,1),COLORYELLOW,LINETHICK1;
J:3*K-2*D,COLORMAGENTA,LINETHICK2;
IF(J>=90,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(J<=0,J,DRAWNULL),COLORRED,LINETHICK2;
正差:J>REF(J,1);
STICKLINE( 正差,-18,-15,3,0 ),COLORRED;
负差:J<REF(J,1);
STICKLINE( 负差,-18,-15,3,0 ),COLORGREEN;
DRAWTEXT(ISLASTBAR,J,' ← J'),COLORMAGENTA;
清仓:100,POINTDOT,COLORGREEN,LINETHICK2;
顶部:90,COLORGREEN,LINETHICK1;
底部:0,COLORRED,LINETHICK2;
STICKLINE(J<0,J,0,1,0),COLORRED,LINETHICK1;
STICKLINE(J>100,J,100,1,0),COLORGREEN,LINETHICK1;
抄底:=REF(J,1)<0 AND J>0;
DRAWICON(抄底,90,38);
逃顶:=REF(J,1)>100 AND J<100;
DRAWICON(逃顶,0,39);
[url=http://www.goodgupiao.com/gupiaogongshi/53437.html][B]KDJ高低点优化副图指标 源码 通达信 贴图[/B][/url]