|
|
您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文 |
kdj操盘==短中长KD,全齐了!
|
|
加入日期:2010-8-23 20:44:01 |
源码如下:
kdj操盘==短中长KD,全齐了!
{kdj操盘}
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短K:SMA(RSV,3,1),COLORWHITE;
短D:SMA(短K,3,1),COLORYELLOW;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
中K:SMA(RSV1,5,1),COLORRED;
中D:SMA(中K,10,1),COLOR66CC33;
RSV2:=(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144))*100;
长K:SMA(RSV2,8,1),COLORffffff;
长D:SMA(长K,20,1),COLORff9900;
v0:0,color00ff00;
v20:20,color00ff00,pointdot;
v50:50,color00ff00;
v80:80,color00ff00,pointdot;
v100:100,color00ff00;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,20,1); {未来函数}
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,90,2);{未来函数}
STICKLINE(短K>短D,短K,短D,2.5,0),COLORYELLOW;
STICKLINE(短K<=短D,短K,短D,2.5,0),COLORGREEN;
STICKLINE(中K>中D,中K,中D,2.5,0),COLORRED;
STICKLINE(中K<=中D,中K,中D,2.5,0),COLOR669933;
STICKLINE(长K>长D,长K,长D,2.5,0),COLORffffff;
STICKLINE(长K<=长D,长K,长D,2.5,0),COLORff9900;
{股票公式网http://www.58188.com整理}
|
|
|
|
|
|
|
|