以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  怎么求一段时间内的最低价  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=57321)

--  作者:wn10000neng
--  发布时间:2013/10/9 13:02:47
--  怎么求一段时间内的最低价
我需要求2011年,一整年的最低价,日线数据,怎么求,谢谢
--  作者:jinzhe
--  发布时间:2013/10/9 13:13:34
--  

nn:=barslast(year<>ref(year,1))+1;

hh:llv(low,nn);

if year=2012 and ref(year,1)=2011 then hh1:=hh;

hh1就是了