以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 编写请教 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=137661) |
-- 作者:yuanman -- 发布时间:2016/8/8 11:28:05 -- 编写请教 前10根K线内有超过n根K线以上连续小于lower.谢谢 |
-- 作者:jinzhe -- 发布时间:2016/8/8 11:32:06 -- variable:nn=0; if l<lower then nn:=nn+1; if l>lower then nn:=0;
条件为:any(nn>=n,10); |