大智慧MACD变形副图公式
{!MACD变形} {看图识字}
DIFF:MA(EMA(CLOSE,12)-EMA(CLOSE,26),2),COLORGREEN;
DEA:HHV(DIFF,9),ColorFFFBFF;
FILLRGN(DEA,DIFF,DEA,0),ColorFF00FF;
变形:IF(DIFF<REF(DIFF,1),DIFF,DEA),LINETHICK1,ColorFF9C00;
变形易看:IF(DIFF>REF(DIFF,1),DIFF,DEA),LINETHICK1,Color00FFFF;
PARTLINE(变形易看,DIFF=DEA AND DEA=变形 AND 变形=变形易看),COLORRED,LINETHICK3;
准备买股:变形>变形易看,ColorFF00FF,LINETHICK0;
PARTLINE(变形易看,变形>变形易看),ColorFF00FF,LINETHICK3;
FILLRGN(变形,变形易看,变形易看>变形),Color00FF00;
FILLRGN(变形,变形易看,变形易看<变形),ColorFF00FF;
DRAWTEXTABS(0,0,'■'),Color692FFD,linethick4;
DRAWTEXTABS(0,12,'■'),Color692FFD,linethick4;
DRAWTEXTABS(12,0,'■'),Color692FFD,linethick4;
DRAWTEXTABS(12,12,'■'),Color692FFD,linethick4;
DRAWTEXTABS(4,4,'MACD'),ColorFFFDFF;
DRAWTEXTABS(4,16,'变形'),ColorFFFDFF;