1、DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:=2*(DIFF-DEA);STICKLINE(MACD=0,MACD,0,4,1),RGB(0,166,166);STICKLINE(MACD0,MACD,0,4,1),RGB(0,166,166);STICKLINE(MACD0,0,MACD,4,0 );STICKLINE(MACD0,0,MACD,3.3,0 );STICKLINE(MACD0,0,MACD,2.2,0 );STICKLINE(MACD0,0,MACD,1.65,0 );STICKLINE(MACD0,0,MACD
2、,1.1,0 );STICKLINE(MACD0,0,MACD,0.55,0 ),RGB(0,166,166);STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,4 ,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,3.3 ,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,2.2,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,1.65 ,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,1.1 ,0 );S
3、TICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,0.55 ,0 ),RGB(236,0,0);STICKLINE(MACDREF(MACD,1)&MACDREF(MACD,1)&MACDREF(MACD,1)&MACDREF(MACD,1)&MACDREF(MACD,1)&MACDREF(MACD,1)&MACD0,0,MACD,0.55 ,0 ),RGB(236,0,0);STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,4,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,3.3 ,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,2.2,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,1.65 ,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,1.1 ,0 );STICKLINE(MACD=REF(MACD,1)&MACD0,0,MACD,0.55 ,0 ),RGB(0,166,166);