同花顺公式源码 同花顺直观又准的公式源码
2015-4-29 10:48:04 股票入门 http://rumen.southmoney.com
同花顺公式源码 同花顺直观又准的公式源码:
//#@Fname=直观又准
//#@comment=
//#@control=
//#@style=K:Line0,,1,0,1,5,16777215;D:Line0,,1,0,1,5,65535;J:Line0,,1,0,1,5,65535;
//#@availperiod=2147430400
//#@param=
//#@Fdesc=直观又准
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),colorwhite;
D:SMA(K,3,1),coloryellow;
J:3*K-2*D,coloryellow;
IF(K《REF(K,1),K,DRAWNULL),colorgreen,LINETHICK1;
IF(D《REF(D,1),D,DRAWNULL),colorgreen,LINETHICK1;
IF(J《REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK1;
IF(K》REF(K,1),K,DRAWNULL),colorred,LINETHICK1;
IF(D》REF(D,1),D,DRAWNULL),colorred,LINETHICK1;
IF(J》REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK1;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。