通達(dá)信2指標(biāo)——波段泰斗(副圖)
{波段泰斗 副圖}
DIF:EMA(C,5)-EMA(C,30),COLORSTICK;
DEA:=EMA(DIF,5);
DIF,COLORWHITE;
DEA,COLORYELLOW;
零上金叉買:0,COLORBLUE,CROSSDOT,LINETHICK2;
IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA;
IF(DIF>0 AND DIF>DEA,零上金叉買,DRAWNULL),COLORRED,LINETHICK2,CROSSDOT;
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);