(macd金叉三天内有个回调的低点)这个选股器
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK;VAR1:=CROSS(DIF,DEA);VAR2:=COUNT(DIF0;AA:=MA(C,24)>MA(C,72);AB:=MA(V,5)>MA(V,60);XG1:(VAR1 AND VAR2<=5 AND VAR3 AND AB)*150 COLORMAGENTA;XG:(VAR1 AND VAR2<=5 AND VAR3 AND AA)*200;这个选股公式的思路是macd金叉三天内有个回调的低点,macd死叉,三天内有个高点,我用macd指标量化的是macd的五日变值,就是macd在0轴上面死叉了,然后再5天内又金叉的股票、楼主发完帖子后就没回来了,看看哪位老师能帮忙把公式改好 ,谢谢啦!!!!

解答:

 {XG1}

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
VAR1:=CROSS(DIF,DEA);
VAR2:=COUNT(DIF<DEA,10);
VAR3:=DIF>0;
AB:=MA(V,5)>MA(V,60);
XG1:VAR1 AND VAR2<=5 AND VAR3 AND AB;
{XG}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
VAR1:=CROSS(DIF,DEA);
VAR2:=COUNT(DIF<DEA,10);
VAR3:=DIF>0;
AA:=MA(C,24)>MA(C,72);
XG:VAR1 AND VAR2<=5 AND VAR3 AND AA;
 

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