把黑马和启爆两公式有信号重叠时做出预警
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

请老师把黑马和启爆两公式有信号重叠时做出预警,谢谢!DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIF,9);AAA:=(DIF-DEA)*2*60;起爆:CROSS(AAA-REF(AAA,1),15);DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;DEA0:=EMA(DIFF0,9);MACD0:=2*(DIFF0-DEA0);黑马:MACD0>REF(MACD0,1)*2.5 AND MACD0>15;

解答:

 

 
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
起爆:=CROSS(AAA-REF(AAA,1),15);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
黑马:=MACD0>REF(MACD0,1)*2.5 AND MACD0>15;
xg:起爆 and 黑马;
 
 
 

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