以文本方式查看主题

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

--  作者:grayelf
--  发布时间:2016/8/15 11:19:23
--  [求助]板块选股
 请教:我想写个板块选股公式,选出同时处在沪深300,中证500,加某行业的股票,请问公式怎么写?
--  作者:jinzhe
--  发布时间:2016/8/15 11:25:39
--  

ss1:inblock(\'沪深300);
ss2:inblock(\'中证500\');

ss3:stincmp(\'某行业\',HYBLOCK)=0;

ss1 and ss2 and ss3


--  作者:grayelf
--  发布时间:2016/8/15 13:24:29
--  
 非常感谢!