源码
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA
MACD : 2*(DIFF-DEA), COLORSTICK;
AT:=EMA(CLOSE,1);
AP:=EMA(CLOSE,3);
DRAWTEXT((AT>AP),macd,'↑'),CoLor0000FF,ALIGN0;
DRAWTEXT((AT
多方强度:=EMA(CLOSE,2.5);
空方强度:=EMA(CLOSE,5);
线:=EMA(空方强度,2.5);
DRAWTEXT((多方强度>线),0,'▲'),CoLor0000FF;
DRAWTEXT((多方强度<空方强度),0,'∨'),CoLor008000;