【同花順】江恩八線主圖指標(biāo)公式
攻城獅 2015.11.08 22:48
大盤:=EMA(INDEXC,500)/EMA(C,500);
大盤線:INDEXC/大盤,LINETHICK1,colorblue;
工作線:EMA(C,14),colorf00ff0,linethick1;
一號(hào)線:EMA(CLOSE,144),POINTDOT,linethick2,Color0000FF;
二號(hào)線:EMA(C,25),colorwhite,linethick2;
三號(hào)線:EMA(C,318),Color0000FF,linethick2;
四黑馬線:EMA(C,453),POINTDOT,linethick2,coloryellow;
五號(hào)線:EMA(C,550),COLORFFCC66;
六號(hào)線:EMA(C,610),linethick2,coloryellow;
七號(hào)線:EMA(C,730),colorblue;
八號(hào)線:EMA(C,99),POINTDOT,linethick2,colorwhite;
DIFF:=( EMA(CLOSE,7) – EMA(CLOSE,19)),colorwhite;
DEA:=EMA(DIFF,9),COLORf00ff0 ;
MACD:=0.90*(DIFF-DEA), COLORSTICK;
tj:=(diff>=dea);
tj1:=(diff>=0);
STICKLINE(tj,H,L,0.5,0),coloryellow;
STICKLINE(tj,O,C,12,0),coloryellow;
STICKLINE(tj1 AND tj,H,L,0.5,0),colorf00ff0;
STICKLINE(tj1 AND tj,O,C,12,1),colorf00ff0;
STICKLINE(diffSTICKLINE(diff Var1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
DRAWTEXT((CROSS(sk,sd) AND sk<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(sk,sd) AND sk<=-0.14 ) OR (CROSS(sk,sd) AND sk<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,’短線’),colorred;
STICKLINE((CROSS(sk,sd) AND sk<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(sk,sd) AND sk<=-0.14 ) OR (CROSS(sk,sd) AND sk<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),colorred;
STICKLINE((CROSS(sk,sd) AND sk<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(sk,sd) AND sk<=-0.14 ) OR (CROSS(sk,sd) AND sk<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,15,1),linethick3,colorred;
ss:=CROSS(二號(hào)線,八號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二號(hào)線,三號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二號(hào)線,一號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98;
DRAWICON(SS,L-0.04,1);
DD:=CROSS(八號(hào)線,一號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98OR CROSS(八號(hào)線,四黑馬線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98OR CROSS(八號(hào)線,三號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98OR CROSS(八號(hào)線,三號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 AND CROSS(二號(hào)線,四黑馬線);
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。