{源碼如下}
DRAWTEXT_FIX(1,0.00,0.05,0,'2信號/多啟動, 但空柱下,別著急買多,穿3線以上方入場,跌破3線以上可止多盈'),COLORMAGENTA;
X1:=(C+L+H)/3;
X2:=SMA(MA(X1,13),3,1)LINETHICK3;
D1:EMA(X2,34.88),COLORMAGENTA,LINETHICK1;
D2:EMA(X2,21.58),COLORBROWN,LINETHICK1;
D3:EMA(X2,13.18),COLORRED,LINETHICK1;
DX1:EMA(X2,9.51),COLORLICYAN,LINETHICK4;
DX2:EMA(X2,6.88),COLORLIMAGENTA,LINETHICK1;
DX3:EMA(X2,3.8),COLORGREEN,LINETHICK2;
HH:=EMA(X2,3);
LL:=EMA(X2,7);
STICKLINE(HH<LL,HH,LL,2,0),COLORGREEN;
STICKLINE(CROSS(C,DX3) AND CROSS(C,DX2) AND CROSS(C,DX1) AND CROSS(C,D3) AND CROSS(C,D2) AND CROSS(C,D1),MA(C,3),MA(C,13),5,0),COLORBLUE;
DRAWTEXT(CROSS(C,DX3) AND CROSS(C,DX2) AND CROSS(C,DX1) AND CROSS(C,D3) AND CROSS(C,D2) AND CROSS(C,D1),LLV(C,13),'多啟動'),COLORBLUE;
STICKLINE(CROSS(DX3,C) AND CROSS(DX2,C) AND CROSS(DX1,C) AND CROSS(D3,C) AND CROSS(D2,C) AND CROSS(D1,C),MA(C,3),MA(C,13),5,2),COLORCYAN;
DRAWTEXT(CROSS(DX3,C) AND CROSS(DX2,C) AND CROSS(DX1,C) AND CROSS(D3,C) AND CROSS(D2,C) AND CROSS(D1,C),LLV(C,13),'空啟動'),COLORGREEN;
使用說明:
該指標(biāo)公式,有2種信號,1種是均線,另外一種是文字提示,當(dāng)我們多啟動提示,但是沒有上穿均線,均線依然是空柱子時(shí),暫時(shí)先不介入,等上穿均線,方能持多(買漲),買漲后,如果提示空啟動或者收盤價(jià)下穿2線以上,可賣出多,止盈。
聯(lián)系客服