{公式名称: 天宇秘术MACD}
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:EMA(DIF,9),COLORWHITE,LINETHICK2;
持仓段:0,COLOR00CFFF;
空仓段:0,COLORFFCCFF;
DRAWTEXT(CROSS(DIF,DEA),DIF-0,1),COLORRED;
DRAWTEXT(CROSS(DEA,DIF),DIF+0,2),COLORGREEN;
MACD彩柱:(DIF-DEA)*2,COLORSTICK;{www.70822.com}
STICKLINE(MACD彩柱<REF(MACD彩柱,1) AND MACD彩柱>0,0,MACD彩柱,1,0),LINETHICK2;
STICKLINE(MACD彩柱>REF(MACD彩柱,1) AND MACD彩柱<0,0,MACD彩柱,1,0),COLORMAGENTA,LINETHICK2;{www.70822.com}
建仓:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2;
加仓:IF(DIF<0,0,DIF),COLORRED,LINETHICK2;
白线破仓:IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK2;
趋势强弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
p20184820275780423.jpg
|