SHORT:=12;
LONG:=26;
MID:=9;
DIF:EMA(C,SHORT)-EMA(C,LONG)COLOR0000FF;
DEA:EMA(DIF,MID);
MACDDIF-DEA)*2,COLORSTICK;
DIF11:EMA(O,SHORT)-EMA(O,LONG)COLOR00FFFF;
DEA11:EMA(DIF11,MID);
MACD111DIF11-DEA11)*2,COLORSTICK;
DRAWBAND(DIF,RGB(255,0,0),DIF11,RGB(0,255,0));
DRAWBAND(DEA,RGB(255,0,0),DEA11,RGB(0,255,0));
|