黄金形态通APP下载

20日线成上升趋势的选股公式

指标答疑4年前 (2022-11-25)101
20日线成上升趋势的选股公式 编写要求:股价连着跌三天,而20日均线仍然连续向上的选股公式.解答:ma20:=ma(close,20);a1:=close<open and (close<ref(close,1) or close=ref(close,1));a2:=downnday(close,2);a3:=upnday(ma20,3);xg:...
20日线成上升趋势的选股公式

编写要求:

股价连着跌三天,而20日均线仍然连续向上的选股公式.

解答:

ma20:=ma(close,20);
a1:=close<open and (close<ref(close,1) or close=ref(close,1));
a2:=downnday(close,2);
a3:=upnday(ma20,3);
xg:ref(a1,2) and a2 and a3;


您暂未设置收款码

请在主题配置——文章设置里上传

扫描二维码手机访问