Rss & SiteMap

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

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

标题:编译报错:缺少end

1楼
netlife88 发表于:2018/6/11 11:39:54

请问这个提示语句缺少end 哪错了

 

 

if high>h0 then h0:=high;
if low=opentime(1) and time=2 and rf then begin
if h0>=up and holding>=0 then begin
if low=benter-(bsetup-ltoday)/div then begin
if high>=benter-(bsetup-ltoday)/div then begin
sellshort(1,v1,thisclose);
buy(1,v1,thisclose);
end
end
end

2楼
yukizzc 发表于:2018/6/11 13:01:49

你有4个begin,只有3个end

最后面再加个end

3楼
FireScript 发表于:2018/6/11 13:03:43
 加一个end就行了,你有四个beigin在代码里面的。
共3 条记录, 每页显示 10 条, 页签: [1]


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