飞狐版变异KDJ副图 源码 说明
-
相关简介:飞狐版变异KDJ副图 源码 说明 变异KDJ,与通用版本不同之处是函数EMA有变化,二是增加了一条加速线即JS; 源码 DRAWGBK(DATE900101,COLORRGB(110,95,0),COLORRGB(0,20,0),1); STICKLINE(c0,96,96,5,0),COLORRED; STICKLINE(c0,72,72,5,0),COLORFF0080; STICKLINE(c0,48,48,5,0),COLORWHITE; STICKLINE(c0,24,24,5,0),
-
文章来源:股海网作者:股海网发布时间:2016-08-12浏览次数:
飞狐版变异KDJ副图 源码 说明
变异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;