顶底两天高xg:if(h>ref(h,1) and l>ref(l,1) and c>o and v>ref(v,1)*1.2,1,
0);
顶底三天高xg:if(ref(h,1)>ref(h,2) and ref(l,1)>ref(l,2) and
h>ref(h,1) and l>ref(l,1) and c>o and v>ref(v,1)*1.2,1,0);
顶底四天高xg:if(ref(h,2)>ref(h,3) and ref(h,1)>ref(h,2) and
ref(l,2)>ref(l,3) and ref(l,1)>ref(l,2) and
h>ref(h,1) and l>ref(l,1) and c>o and v>ref(v,1)*1.2,1,0);