以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 时间判断,可以这样写吗? (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=64704) |
-- 作者:wang550099 -- 发布时间:2014/5/6 19:50:59 -- 时间判断,可以这样写吗? if date()<>1140422 then begin db:=(c-PreClose)/PreClose; db2:=(c-PreClose)/PreClose; end if date()=1140422 then begin db:=(c-3324)/3324; db2:=(c-3324)/3324; end
|
-- 作者:jinzhe -- 发布时间:2014/5/7 8:57:16 -- 可以 |