以文本方式查看主题

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

--  作者:punkcat401
--  发布时间:2014/6/30 8:48:46
--  请教问题
图表系统,如果想让某个条件例如N=1,只在今天日内有效,不要影响到今天以前的历史信号,应该怎么写?
--  作者:qq代人发帖
--  发布时间:2014/6/30 9:03:05
--  
if date=currentdate and n=1 then
BEGIN
....
end