{试试看}down:=o>c;x1:=count(down,5)=4;x2:=(hhv(c,20)-llv(c,1))/ llv(c,1)/50*100;x3:=(min(c,o)-l)/(h-l)>0.667 and (h-max(c,o))/(h-l)<0.333 and (c-o)<0.1; x1 and x2 and x3 ;
基本按您开的条件编写,希望是您需要的,公式中您所说的粘合程度您可以更改数值来调整。不过,条件虽然您是想象来了,但公式实际意义似乎不是太大,也许您是另有用途而.........公式如下:ma10:=ma(c,10);ma30:=ma(c,30);ma60:=ma(c,60);条件1:if(cross(ma60,ma30) and between(ma10/ma60,1.002,1) and ma30...