请求老师:把这个通达信主图公式中的上穿均线和下床均线的箭头,能否做成预警选股公式,感谢!!!

2024-12-18 23:53:32
推荐回答(2个)
回答1:

 BBI:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30))/4;

 

 预警1:CROSS(C,BBI),COLORRED;

 预警2:CROSS(BBI,C),COLORBLUE;

希望对你有帮助

回答2:

N1:=5;
N2:=10;
N3:=20;
N4:=30;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
XG:CROSS(C,BBI);
{选股}

N1:=5;
N2:=10;
N3:=20;
N4:=30;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
XG:CROSS(BBI,C);
{逃顶}