请通达信高手编一个20日均线选股公式

如题所述

a:=llvbars(c,15);
b:=ref(c,10)>ref(c,a);
d:=c>ref(c,a);
e:=between(ref(c,a),ref(ma(c,20),a)*1.02,ref(ma(c,20),a)*0.98);
f:=every(c>ma(c,20),a)
and
every(close>open,a);
b
and
d
and
e
and
f;
这是第三次修改,已通过测试,第一行中的15,可以根据需要修改,意思是15日内的最低点处受到20日线的支撑。
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答
大家正在搜