日红指标
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK1;
DEA:EMA(DIF,9),LINETHICK1;
MACD日:(DIF-DEA)*2, COLORSTICK;
DRAWBAND(DIF,RGB(255,0,0),DEA,RGB(135,200,0));
周红指标
DIF55:(EMA(CLOSE,30)-EMA(CLOSE,90))*0.55;
DEA55:(EMA(DIF55,26));
MACD周:(DIF55-DEA55)*2, COLORSTICK;
DRAWBAND(DEA55,RGB(135,200,0),DIF55,RGB(255,0,0));
预警公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK1;
DEA:=EMA(DIF,9),LINETHICK1;
MACD日:=(DIF-DEA)*2;
DIF55:=(EMA(CLOSE,30)-EMA(CLOSE,90))*0.55;
DEA55:=(EMA(DIF55,26));
MACD周:=(DIF55-DEA55)*2;
DIF>DEA AND DIF55>DEA55;
546300135.jpg
|