请教通达信选股公式:N日均线呈近似水平线向前延伸(即均线走平)
如果通用的公式不好编,就请编120日和250日均线走平的两个公式吧,先谢谢了。公式测试务必能通过并确实能选出符合条件的股票啊...
如果通用的公式不好编,就请编120日和250日均线走平的两个公式吧,先谢谢了。公式测试务必能通过并确实能选出符合条件的股票啊
展开
1个回答
展开全部
N日均线呈近似水平线:
N:=5;
MA2:=MA(C,240);
HH2:=HHV(MA2,N);
LL2:=LLV(MA2,N);
XG:BETWEEN((HH2-LL2)/MA2,0,0.001);
120日和250日均线走平:
N:=5;
MA1:=MA(C,120);
MA2:=MA(C,240);
HH1:=HHV(MA1,N);
LL1:=LLV(MA1,N);
HH2:=HHV(MA2,N);
LL2:=LLV(MA2,N);
XG:BETWEEN((HH1-LL1)/MA1,0,0.001) AND BETWEEN((HH2-LL2)/MA2,0,0.001);
N:=5;
MA2:=MA(C,240);
HH2:=HHV(MA2,N);
LL2:=LLV(MA2,N);
XG:BETWEEN((HH2-LL2)/MA2,0,0.001);
120日和250日均线走平:
N:=5;
MA1:=MA(C,120);
MA2:=MA(C,240);
HH1:=HHV(MA1,N);
LL1:=LLV(MA1,N);
HH2:=HHV(MA2,N);
LL2:=LLV(MA2,N);
XG:BETWEEN((HH1-LL1)/MA1,0,0.001) AND BETWEEN((HH2-LL2)/MA2,0,0.001);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询