本指标是在原来寻庄MACD的基础上进行了再次改造,除了原来用法外,这次加了两条线,这样比原来指标更加敏感一些,一是多线,二是DMI线,当DIF在0轴下方时,DIF突破DMI才有效,在0轴上方时跌破DMI有效,如果稳妥一些,多线变绿就应当出局
差价:=((c-REF(c,1))*0.382+(C-O)*0.618)*0.382;
均价:=(C+(H+l)/2*0.382+(c+O)/2*0.618)/2;
操盘线:=ema(eMA((均价+H)/2,4)-EMA(差价,246)/4,2);
反操盘线:=EMA(操盘线-(eMA((均价+H)/2,2)-操盘线),2);
多空线:=EMA(EMA(EMA(HHV((H+均价)/2,1)-EMA(差价,246)/35,3),8),24);
黄金线:=(反操盘线+多空线)/2;
行情线:=EMA(EMA(EMA(HHV((H+均价)/2,1)-EMA(差价,246)/99,3),24),72);
DDIF:黄金线-行情线,COLORRED;
Ddea:MA(Ddif,3),COLORAAAA00;
DIF:操盘线-行情线,COLORWHITE,PRECISION2;
DEA:=MA(DIF,3),COLORGREEN,PRECISION2;
多:(3*DIF-2*DEA),LINETHICK2,COLORRED;
PARTLINE(多<DIF,多),COLOR00bb00, LINETHICK2;
DMI:MA((DIF+DDIF)/2,1),COLORYELLOW;
DMACD:1*(多-DMI),LINETHICK;
STICKLINE(DMACD>=0,0,DMACD,5,1),COLOR00AA99,COLOR7F00FF,COLORYELLOW;
STICKLINE(DMACD<0,0,DMACD,5,1),COLORWHITE;
FILLRGN(Ddif>DDEa,DDIf,DDEa),COLORBROWN;
FILLRGN(Ddif<DDEa,DDIf,DDEa),COLORAAAA00;
MACD:5*(DIF-DEA),COLORSTICK,LINETHICK1;
天:HHV(MA(DIF,1),56/2),COLOR7F00FF,LINEDOT;
地:llV(MA(DIF,1),56/2),COLOR00AA99,LINEDOT;
0;