副图MACDMACD

DIF:=100*(EMA(CLOSE,12)-EMA(CLOSE,26));

DEA:=EMA(DIF,9);

MACD:(DIF-DEA)*2,COLORSTICK;

IF(MACD>REF(MACD,1),MACD,DRAWNULL),STICK,COLORRED,LINETHICK4;

IF(MACD<REF(MACD,1),MACD,DRAWNULL),STICK,COLOR338833,LINETHICK2;

DIF11:100*(EMA(CLOSE,12)-EMA(CLOSE,26)),COLORWHITE;

DEA11:EMA(DIF,9),COLORMAGENTA;

AAC:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORYELLOW,LINETHICK2;

0,COLORWHITE;

MA5:=MA(CLOSE,5);

MA18:=MA(CLOSE,21);

DUO:=EMA(C,3),COLORYELLOW;

KON:=EMA(C,5),COLOR00FF00;

JINH:=EMA(KON,5),COLORWHITE,;

VARF1:=COUNT(CROSS(DUO,JINH),2)=1;

VARF2:=COUNT(CROSS(KON,JINH),2)=1;

ZAI:=FILTER(VARF1 AND VARF2,2) AND

C>O AND (CROSS(C,MA5) OR CROSS(C,MA18))

AND MA5>=MA18*0.95 AND MA18>=REF(MA18,1);

BUYSHORT_BUY(ZAI,DIF);

(0)

相关推荐