admin 发表于 2016-5-7 13:47:32

选出股价站在30周均线上方,股票现价不超过30周均线价格上方20%的股票公式怎么写?

选出股价站在30周均线上方,股票现价不超过30周均线价格上方20%的股票公式怎么写?
   正确答案:
xx1.fnc
aa30:ma(c,30);
------------------------------------
{n=3,5,3(默认)}
xx2.fnc
bb:”xx1.aa30#week”;
cc:count(cross(c,bb),5)=1 and count(c>bb,5)>=n and count(c<bb*1.2,5)=5;
    正确答案:(99801):
a1:=c>ma(c,30);
c>a1 and c/a1<1.2

页: [1]
查看完整版本: 选出股价站在30周均线上方,股票现价不超过30周均线价格上方20%的股票公式怎么写?