股票公式指标网-网站导航


网站搜索:  

公式指标网 发表于2016/2/10 7:28:07

飞狐变异KDJ副图源码

飞狐变异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;
 

 

飞狐变异KDJ副图源码



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
股票公式指标网-www.gszx.com.cn-股票指标公式网