莊神 操盤利器公式、源碼[通達信公式]
相關標簽:
{幅圖}
名稱:莊神
指標公式源碼:
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; 該指標是我總結了好多類似內容的資料、結合我個人對股市的理解而鼓搗成的。感謝有近似內容的股友們!該設置較簡單干凈 看著不刺眼。信號都用不同顏色顯示出來了,自己可以根據不同的理解進行取舍吧。信號準的概率較大,沒有未來函數,喜歡就拿去用好了。希望能有你的支持DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容