DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA1:=EMA(DIFF1,9);
MACD:=2*(DIFF1-DEA1),STICK;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,,0),COLORB20000;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,,0),COLOREC0000;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,,0),COLORFF4600;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,,0),COLORFF6300;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,,0),COLORFF8B00;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,,0),COLORFFAB00;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,,0),COLOR000055;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,,0),COLOR000077;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,,0),COLOR000099;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,,0),COLOR0000BB;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,,0),COLOR0000DD;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,,0),COLOR0000FF;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,,0),COLOR555555;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,,0),COLOR777777;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,,0),COLOR999999;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,,0),COLORBBBBBB;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,,0),COLORDDDDDD;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,,0),COLORFFFFFF;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,,0),COLORB20000;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,,0)
准确率最高的期货指标文华期货软件指标文华指标公式源码期货指标源码 来自淘豆网m.daumloan.com转载请标明出处.