思路: 1.一顶比一顶高,一底比一底高;连续两天(三天)(四天)如此; 2.收阳,放量;
顶底两天高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);