Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:代码简化

1楼
longkun 发表于:2018/9/26 23:12:06

开盘:=if(time>opentime(1) and time<closetime(1),1,0)=1 or if(time>opentime(2) and time<closetime(2),1,0)=1 or
if(time>opentime(3) and time<closetime(3),1,0)=1 or if(time>opentime(4) and time<closetime(4),1,0)=1;

以上代码能否在格式上帮我简化一下,比如用&符号

2楼
longkun 发表于:2018/9/26 23:13:22
看看能不能不用if函数
3楼
wenarm 发表于:2018/9/27 8:21:03

没办法

共3 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.03320 s, 3 queries.