请老师帮助改成通达信选股公式,预祝老师羊年发大财!谢谢!
发布网友
发布时间:2022-05-12 18:33
我来回答
共1个回答
热心网友
时间:2023-08-23 16:05
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
T1:=CROSS(VAR1,0)AND CROSS(V4,0)AND VB>0;
T2:=CROSS(VAR1,0)AND CROSS(REF(V4,1),0)AND VB>0;
T3:=CROSS(REF(VAR1,1),0)AND CROSS(V4,0)AND VB>0;
T4:=VAR1>0 AND VAR1>REF(VAR1,1)AND V4>0 AND V4>REF(V4,1)AND VB>0 AND VB>REF(VB,1);
XG:(T1 OR T2 OR T3)AND T4;
这种选股不是很好的,成功率与否决定于第二天的走势,若上穿以后第二天重写跌回0轴一下,就意味着选股失败,就必须卖出