V1:=(H+O+L+2*C)/5;{均价}
V2:=REF(V1,1);{昨日V1}
V3:=MAX(V1-V2,0);{V1-V2和0的较大值}
V4:=ABS(V1-V2);{两个的绝对值}
V5:=SMA(V3,10,1);{移动平均}
V6:=SMA(V4,10,1);
V8:=COUNT(V5/V6<0.2,5);{统计5日中满足V5/V6<0.2的天数}
V9:=COUNT(LLV(V1,10)=V1,10);{统计10日中满足10日内V1的最低值=V1的天数}
P:IF(V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1),1,0);