多头排列:=count(ma(c,10)>ma(c,20) and ma(c,10)>ref(ma(c,10) ,1) and ma(c,20)>ref(ma(c,20) ,1),10)=10;
{ _大智慧指标公式}
平台盘整:=hhv(c,4)/llv(c,4)<=1.04 or hhv(h,4)/llv(l,4)<1.08;
盘整量缩:=ma(v,2)/ref(ma(v,5),2)<=0.8 or
v/ref(ma(v,5),2)<=0.8 or v/ref(v,1)<0.8;
横盘缩量:多头排列 and 平台盘整 and 盘整量缩;