庄神 ----操盘利器
2015-1-19 13:20:47点击:
{幅图}
名称:庄神
源码:
DRAWBAND(90,RGB(50,20,0),20,DRAWNULL);
STICKLINE(C,20,0,5,0),COLOR002200;
STICKLINE(C,100,90,5,0),COLOR003355;
I:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;
J:=3*SMA(I,9,1)-2*SMA(SMA(I,9,1),9,1);
T1:=IF(J<20,J,DRAWNULL);
T2:=IF(J>90,J,DRAWNULL);
DRAWBAND(20,RGB(100,100,100),T1,DRAWNULL);
DRAWBAND(T2,RGB(50,30,80),90,DRAWNULL);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DJ:=3*K-2*D;
DJD:=IF(0>DJ,DJ,DRAWNULL);
DRAWBAND(K,RGB(150,20,0),D,RGB(0,80,10));
DRAWBAND(0,RGB(180,120,120),DJD,DRAWNULL);
R27:=I,COLORGRAY;
庄神:J,COLORMAGENTA;
神L:=LLV(庄神,10);
神H:=HHV(庄神,10);
STICKLINE(DJ<=LLV(DJ,10),-1,-3,1,0),COLORWHITE;
STICKLINE(REF(DJ<=LLV(DJ,10),1)AND DJ>REF(DJ,1),-1,-5,1,0),COLORLIMAGENTA;
X:=(C+L+H)/3;
X2:=EMA(X,1),COLORRED;
X3:=EMA(X2,3),COLORGREEN;
X4:=(X2-X3)/X3*100,NODRAW;
买:REF(C<=X2,1)AND X2<=X3 AND C>X2,COLORRED,NODRAW;
卖:REF(C>=X2,1)AND X2>=X3 AND C<X2 AND X4<REF(X4,1),COLORCYAN,NODRAW;
启涨:REF(庄神<=神L,1)AND 庄神>REF(神L,1)AND 庄神<80,COLORWHITE,NODRAW;
金叉:CROSS(R27,庄神),COLORYELLOW,NODRAW;
STICKLINE(卖=1,99,96,1,0),COLORCYAN;
DRAWICON(卖=1,102,39);
STICKLINE(启涨=1,0,25,0,0),COLORWHITE;
STICKLINE(金叉=1,0,10,0.1,0),COLORYELLOW;
STICKLINE(买=1,1,5,0.1,0)COLORRED;
DRAWICON(买=1,6,7);
DRAWTEXT(启涨=1,26,' 启'),COLORWHITE;
DRAWTEXT(金叉=1,11,' 金'),COLORYELLOW;
0,COLORGRAY,DOTLINE;100,COLORBROWN,DOTLINE;
该指标是我总结了好多类似内容的资料、结合我个人对股市的理解而鼓捣成的。感谢有近似内容的股友们!该设置较简单干净 看着不刺眼。信号都用不同颜色显示出来了,自己可以根据不同的理解进行取舍吧。信号准的概率较大,没有未来函数,喜欢就拿去用好了。希望能有你的支持
名称:庄神
源码:
DRAWBAND(90,RGB(50,20,0),20,DRAWNULL);
STICKLINE(C,20,0,5,0),COLOR002200;
STICKLINE(C,100,90,5,0),COLOR003355;
I:=(C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100;
J:=3*SMA(I,9,1)-2*SMA(SMA(I,9,1),9,1);
T1:=IF(J<20,J,DRAWNULL);
T2:=IF(J>90,J,DRAWNULL);
DRAWBAND(20,RGB(100,100,100),T1,DRAWNULL);
DRAWBAND(T2,RGB(50,30,80),90,DRAWNULL);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DJ:=3*K-2*D;
DJD:=IF(0>DJ,DJ,DRAWNULL);
DRAWBAND(K,RGB(150,20,0),D,RGB(0,80,10));
DRAWBAND(0,RGB(180,120,120),DJD,DRAWNULL);
R27:=I,COLORGRAY;
庄神:J,COLORMAGENTA;
神L:=LLV(庄神,10);
神H:=HHV(庄神,10);
STICKLINE(DJ<=LLV(DJ,10),-1,-3,1,0),COLORWHITE;
STICKLINE(REF(DJ<=LLV(DJ,10),1)AND DJ>REF(DJ,1),-1,-5,1,0),COLORLIMAGENTA;
X:=(C+L+H)/3;
X2:=EMA(X,1),COLORRED;
X3:=EMA(X2,3),COLORGREEN;
X4:=(X2-X3)/X3*100,NODRAW;
买:REF(C<=X2,1)AND X2<=X3 AND C>X2,COLORRED,NODRAW;
卖:REF(C>=X2,1)AND X2>=X3 AND C<X2 AND X4<REF(X4,1),COLORCYAN,NODRAW;
启涨:REF(庄神<=神L,1)AND 庄神>REF(神L,1)AND 庄神<80,COLORWHITE,NODRAW;
金叉:CROSS(R27,庄神),COLORYELLOW,NODRAW;
STICKLINE(卖=1,99,96,1,0),COLORCYAN;
DRAWICON(卖=1,102,39);
STICKLINE(启涨=1,0,25,0,0),COLORWHITE;
STICKLINE(金叉=1,0,10,0.1,0),COLORYELLOW;
STICKLINE(买=1,1,5,0.1,0)COLORRED;
DRAWICON(买=1,6,7);
DRAWTEXT(启涨=1,26,' 启'),COLORWHITE;
DRAWTEXT(金叉=1,11,' 金'),COLORYELLOW;
0,COLORGRAY,DOTLINE;100,COLORBROWN,DOTLINE;
该指标是我总结了好多类似内容的资料、结合我个人对股市的理解而鼓捣成的。感谢有近似内容的股友们!该设置较简单干净 看着不刺眼。信号都用不同颜色显示出来了,自己可以根据不同的理解进行取舍吧。信号准的概率较大,没有未来函数,喜欢就拿去用好了。希望能有你的支持