DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
MACD:=(DIFF-DEA)*2;
黄金1:=MA(MA(CLOSE,3),1),COLOR0000FF;
黄金2:=MA(MA(CLOSE,3),3),COLOR00FF00;
XGRAWTEXT(CROSS(DIFF,DEA) AND MACD>0 AND
CROSS(黄金1,黄金2),LOW*0.88,'▲黄金坑B'),COLORYELLOW;
|