以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  选股  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=69596)

--  作者:90的硬币
--  发布时间:2014/9/4 11:56:08
--  选股

请教老师如何在日线周期上选出今天满足涨幅条件的股票,过去的就不要选出来了。

 

 

c1:valuewhen(date<>ref(date,1),ref(c,1));
s:c;
涨幅:c/c1>1.03;


--  作者:jinzhe
--  发布时间:2014/9/4 13:16:05
--  

c1:valuewhen(date<>ref(date,1),ref(c,1));
s:c;

c/c1>1.03 and islastbar;