把【KDJ-金】加进主图配合MCST买卖的清晰可见(主图.源码.附图.说明)
我们把KDJ加到主图上.该不该买卖股票立竿见影搬的一清二楚.同时加上成本线的通道配合KDJ.会使你买卖的时候能够果断的下决心.我们的炒股理念就怕犹豫不决.你用这个公式会促使你买卖能够更加相信公式发给的信号.当机立断.当然公式的参数是可变的.就看你不能不.道高一尺魔高一丈了.
大智慧的源码如下:---------------------------------------------------
DRAWGBKlast(DATE>900101,strip(RGB(60,40,60),RGB(0,0,80),0));
{以下设置五彩立体K线}
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLORff5500;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000033;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;
VC:=(2*CLOSE+HIGH+LOW)/4;
K: SLOPE(WMA(VC,5),9)*5+VC,COLOR00FFff,LINETHICK0;
D: WMA(K,3),COLOR00FF00,LINETHICK0;
J: 2.8*K-1.8*D,COLOR0099FF,LINETHICK1;
PARTLINE(J,(J>REF(J,1))-1,rgb(0,100,200),1,rgb(200,100,0) ),LINETHICK3,LAYER0;
MA5:WMA(C,5),PRECIS2;
FILLRGN(J ,MA5 ,J>MA5,RGB(0,0,160)),LINETHICK1,LAYER7;
FILLRGN(J,MA5,J
{高抛.低吸}
重心:(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.667*REF(SJ,1)+0.333*SJ,2);
DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30,J,'←低吸'),COLOR00FFFF,LINETHICK2;
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,J,'←高抛'),COLOR0044FF,LINETHICK2;
{RSI}
LC:=REF(C,1);
RSI:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0;
DRAWTEXT(RSI>=75 AND RSI>REF(RSI,1) ,J*1.01,'R:'+NUMTOSTRN(RSI,0)+'.'),COLOR0077FF,ALIGN2,LINETHICK1;
DRAWTEXT(DISPSTATUS=2, H*1.04,'【RSI:'+NUMTOSTRN(RSI,0)+'】'),COLOR00FFFF,LINETHICK2,ALIGN1;
DRAWTEXT(DISPSTATUS=2,H*1.06,'【J:'+NUMTOSTRN("KDJ.J",1)+'】'),COLOR00FF00,LINETHICK2,ALIGN1;
MCST:DMA(AMOUNT/(100*VOL),VOL/CAPITAL);
MCST*1.1;
MCST*0.9;