变异KDJ,与通用版本不同之处是函数EMA有变化,二是增加了一条加速线即JS;

源码

DRAWGBK(DATE>900101,COLORRGB(110,95,0),COLORRGB(0,20,0),1);
STICKLINE(c>0,96,96,5,0),COLORRED;
STICKLINE(c>0,72,72,5,0),COLORFF0080;
STICKLINE(c>0,48,48,5,0),COLORWHITE;
STICKLINE(c>0,24,24,5,0),COLORCYAN;
STICKLINE(c>0,6,6,5,0),COLORGRAY;
RSV:=(CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*100;
K:=EMA(wma(RSV,3),3);
D:wma(K,3),COLORYELLOW;
J:K+(k-d)/1.91,COLORMAGENTA;
FK:wma(ref(rsv/1.91,8),3),COLORGREEN;
JS:96-fk,LINEDOT,COLOR00CCCC;
 


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。