手机端
当前位置:爱约股 > 公式技巧 > 把智能MACD副图红箭头处写一选股公式

把智能MACD副图红箭头处写一选股公式

 网友求助:

DIFF:EMA(C,12)-EMA(C,26); DEAA:=EMA(DIFF,9);
DRAWBAND(DIFF,RGB(180,180,180),DEAA,RGB(90,90,124));

DIF:EMA(C,SUM(C>REF(C,1),12))-EMA(C,SUM(C>REF(C,1),26));
DEA:EMA(DIF,SUM(C>REF(C,1),9));
MACD:(DIFF-DEAA)*2,COLORSTICK;
DRAWICON(CROSS(DIF,DEA),DIF-0.01,1);
DRAWICON(CROSS(DEA,DIF),DIF,2);
DIFF0:=(EMA(C,3)-EMA(C,13))COLORGREEN,LINETHICK2;
 

 

把智能MACD副图红箭头处写一选股公式

 

 

 

解答如下:

DIFF:=EMA(C,12)-EMA(C,26); DEAA:=EMA(DIFF,9);
DIF:=EMA(C,SUM(C>REF(C,1),12))-EMA(C,SUM(C>REF(C,1),26));
DEA:=EMA(DIF,SUM(C>REF(C,1),9));
MACD:=(DIFF-DEAA)*2;
CROSS(DIF,DEA);
 

分享至:

相关推荐