相關(guān)標(biāo)簽:
{幅圖}
名稱:莊神
指標(biāo)公式源碼:
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; 該
指標(biāo)是我總結(jié)了好多類似內(nèi)容的資料、結(jié)合我個(gè)人對(duì)股市的理解而鼓搗成的。感謝有近似內(nèi)容的股友們!該設(shè)置較簡(jiǎn)單干凈 看著不刺眼。信號(hào)都用不同顏色顯示出來(lái)了,自己可以根據(jù)不同的理解進(jìn)行取舍吧。信號(hào)準(zhǔn)的概率較大,沒(méi)有未來(lái)函數(shù),喜歡就拿去用好了。希望能有你的支持DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'
程序化交易模型'),COLORRED;