把智能MACD副图红箭头处写一选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

解答:

 网友求助:

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;
 

 
解答如下:
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);
 

 


选股票看什么指标最好 >股票指标网