紫色為趨勢帶,回踩不破是買入機會,趨勢帶紫色做多,綠色多空
有買入信號提示
指標源碼:
EXP1:EMA(CLOSE,89),COLORFFCC00,DOTLINE;
EXP2:EMA(CLOSE,60),COLORBLUE,LINETHICK2;
EXP3:EMA(CLOSE,130),COLOR0066FF,DOTLINE;
IF(EXP2>=REF(EXP2,1),EXP2,DRAWNULL),COLORRED,LINETHICK2;
IF(EXP2<=REF(EXP2,1),EXP2,DRAWNULL),COLORBLUE,LINETHICK2;
EXP4:EMA(CLOSE,5),COLORWHITE,DOTLINE;
B1:=EMA(C,3);
B2:=EMA(C,26);
B3:=B1-B2;
WDIF:EMA(EMA(EMA(C,3),3),3)+B3,LINETHICK2,COLORF00FF0;
WDEA:=EMA(WDIF,9),COLORGREEN,LINETHICK1;
MA18:=MA(CLOSE,18); MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
買:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWTEXT(FILTER(買=1,5),LOW,'買'),COLORYELLOW;
DRAWICON(CROSS(WDIF,WDEA),WDEA,17);
八九線:EMA(EXP2,20),COLORGREEN;
MACT:EMA(WDIF,5),COLOR99EEEE;
DRAWBAND(WDIF,RGB(255,0,0),MACT,RGB(0,118,0));
STICKLINE(EXP2>八九線,EXP2,八九線,0,1),COLORFF33FF;
STICKLINE(EXP2< 八九線,EXP2,八九線,0,1),COLOR00FF00;
DRAWKLINE(H,O,L,C);