V1:=(H+O+L+2*C)/5;{www.qill.cn均价}
V2:=REF(V1,1);{www.qill.cn昨日V1}
V3:=MAX(V1-V2,0);{www.qill.cnV1-V2和0的较大值}
V4:=ABS(V1-V2);{www.qill.cn两个的绝对值}
V5:=SMA(V3,10,1);{www.qill.cn移动平均}
V6:=SMA(V4,10,1);
V8:=COUNT(V5/V6<0.2,5);{www.qill.cn统计5日中满足V5/V6<0.2的天数}
V9:=COUNT(LLV(V1,10)=V1,10);{www.qill.cn统计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);
V1:=(H+O+L+2*C)/5;{www.qill.cn均价}
V2:=REF(V1,1);{www.qill.cn昨日V1}
V3:=MAX(V1-V2,0);{www.qill.cnV1-V2和0的较大值}
V4:=ABS(V1-V2);{www.qill.cn两个的绝对值}
V5:=SMA(V3,10,1);{www.qill.cn移动平均}
V6:=SMA(V4,10,1);
V8:=COUNT(V5/V6<0.2,5);{www.qill.cn统计5日中满足V5/V6<0.2的天数}
V9:=COUNT(LLV(V1,10)=V1,10);{www.qill.cn统计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);