%> 飞狐KDJ买卖指标公式_
飞狐KDJ买卖指标公式 2227

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:SMA(K,3,1),COLORRED,linethick2;

PARTLINE(D<REF(D,1),D),COLORBLUE,linethick2;

J: (3*K-2*D);

{股票教程网-股票公式网站 www.gwgz.net}

partline(J>=REF(J,1),J),Colorred,LINETHICK2;

partline(J<REF(J,1),J),Colorblue,LINETHICK2;

DRAWTEXT(J>=REF(J,1) AND ISLASTBAR=1,K,' ←看多'),COLORYELLOW;

DRAWTEXT(J<REF(J,1) AND ISLASTBAR=1,K,' ←保守'),COLORMAGENTA;

STICKLINE(K>D,D,K,6,0),colorred;

STICKLINE(K<=D,D,K,6,0),colorblue;

DRAWICON(CROSS(K,D),D-0.02,4);

DRAWICON(CROSS(D,K),D+0.06,5);

DRAWTEXT(K>D,0,'買'),colorred,ALIGN0;

DRAWTEXT(K<D,0,'賣'),colorblue,ALIGN0;


 

{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}