MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA60:=MA(CLOSE,60);MA120:=MA(CLOSE,120);A1:=REF(CLOSE,1)<MA5 OR REF(CLOSE,1)<MA10 OR REF(CLOSE,1)<MA20 OR REF(CLOSE,1)<MA60 OR REF(CLOSE,1)<MA120 ;A2:=CLOSE>OPEN AND VOL>REF(VOL,1
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
c>ref(c,1)*1.01
and ref(k,1)<50
and cross(c,ma(c,3))
and ref(v/capital,1)<=0.015
and ref(v,1)<ref(ma(v,6),1)
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
c>=o*1.022 and ref(RSI,1)<50
and DIFF>DEA and ref(diff,1)<-0.1
YXG:=IF(TROUGHBARS(3,6,1)=0 and HIGH>LOW+0.1,2,0) AND (indexc-ma(indexc,70))/MA(indexc,70)<1;
动向流:=(MA(CLOSE,3)-REF(MA(CLOSE,3),2))/REF(MA(CLOSE,3),2);
DXL:=MA(动向流,3); B1:=ANY(YXG,1) and 动向流>=DXL and ref(动向流,1)<ref(DXL
a1:=IF(TROUGHBARS(3,6,1)=0 and HIGH>LOW+0.1,2,0) AND (indexc-ma(indexc,70))/MA(indexc,70)<1;
a2:=(MA(CLOSE,3)-REF(MA(CLOSE,3),2))/REF(MA(CLOSE,3),2);
a3:=MA(a2,3);
a4:=(CLOSE-MA(CLOSE,8))/MA(CLOSE,8)*100;
a5:=TROUGHBARS(3,13,
dynainfo(4)>0 and l<>0
and llv(l,2)<=hhv(h,60)*0.57
and ref(c,1)<ref(c,2)*1.05
and ref(v/capital,1)<=0.015
and ref(sma(cost(21)/l,3,1),1)>=1.6
and capital<=5000000;