|
本帖最后由 T14悠然★金光 于 2015-3-8 22:21 编辑
是不是这样的:编译通过
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;
XG: DRAWTEXT(CROSS(DIFF,DEA) AND MACD>0 AND CROSS(黄金1,黄金2),LOW*0.88,'▲黄金坑B'),COLORYELLOW;
|
|