通達(dá)信{江恩八線(xiàn)}主圖,不含未來(lái)。
大盤(pán):=EMA(INDEXC,500)/EMA(C,500);
大盤(pán)線(xiàn):=INDEXC/大盤(pán),LINETHICK1,COLORBLUE;
工作線(xiàn):EMA(C,14),COLOR00FFFF,LINETHICK1;
一號(hào)線(xiàn):EMA(CLOSE,144),POINTDOT,LINETHICK2,COLOR0000FF;
二號(hào)線(xiàn):EMA(C,25),COLORWHITE,LINETHICK2;
三號(hào)線(xiàn):EMA(C,318),COLOR0000FF,LINETHICK2;
四黑馬線(xiàn):EMA(C,453),CIRCLEDOT,LINETHICK1,COLOR428899;
五號(hào)線(xiàn):EMA(C,550),COLORFFCC66;
六號(hào)線(xiàn):EMA(C,610),LINETHICK2,COLORYELLOW;
七號(hào)線(xiàn):EMA(C,730),COLORBLUE;
八號(hào)線(xiàn):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,0),COLORYELLOW;}
STICKLINE(TJ,O,C,3,1),COLORYELLOW;
STICKLINE(TJ1 AND TJ,H,L,0,1),COLORF00FF0;
STICKLINE(TJ1 AND TJ,O,C,3,1),COLORF00FF0;
STICKLINE(DIFF<DEA,H,L,0,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,3,1),COLORF0F000;
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,'短線(xiàn)'),COLORFF66FF;}
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,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,3,0),LINETHICK3,COLORRED;
SS:=CROSS(二號(hào)線(xiàn),八號(hào)線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(二號(hào)線(xiàn),三號(hào)線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(二號(hào)線(xiàn),一號(hào)線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98{AND CROSS(二號(hào)線(xiàn),三號(hào)線(xiàn))};
{DRAWICON(SS,L-0.04,1);}
DD:=CROSS(八號(hào)線(xiàn),一號(hào)線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(八號(hào)線(xiàn),四黑馬線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(八號(hào)線(xiàn),三號(hào)線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98
OR CROSS(八號(hào)線(xiàn),三號(hào)線(xiàn)) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 AND CROSS(二號(hào)線(xiàn),四黑馬線(xiàn));
(責(zé)任編輯:張曉軒)