请问这个提示语句缺少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
你有4个begin,只有3个end
最后面再加个end