kdj操盘(副图)
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
短K:SMA(RSV,3,1),COLORWHITE,LINETHICK3;
短D:SMA(短K,3,1),COLOR00FF00,LINETHICK3;
短j:3*短K-2*短D,COLORFFA2AF,LINETHICK3;
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
中K:SMA(RSV1,3,1),COLORRED;
中D:SMA(中K,3,1),COLOR66CC33;
RSV2:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
长K:SMA(RSV2,3,1),COLORffffff;
长D:SMA(长K,3,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; |