以文本方式查看主题

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

--  作者:小米粥
--  发布时间:2014/3/7 10:01:51
--  请教管理员代码问题
代码如下:
variable:highest=0;
startime:=(date=initial_date and time=initial_time);//首次开仓时间
if (time>=startime and open>highest) then highest:=open;
最高值:highest,noaxis,nodraw;


请问我想实现从首次开仓之后把最高的open保存起来,但是为什么highest显示的是图表中出现的最大值(在首次开仓时间之前)?