VAR1:=(PERIOD=5) AND (C>0) AND V>0;
VAR2:=(MA(C,30)+MA(C,72))/2;
VAR3:=VAR2*0.75;
VAR4:=VAR2*0.71;
VAR5:=VAR2*0.68;
VAR6:=EMA(EMA(CLOSE,9),9);
VAR7:=(VAR6-REF(VAR6,1))/REF(VAR6,1)*1000;
VAR8:=EMA(EMA(CLOSE,8),8);
VAR9:=(VAR8-REF(VAR8,1))/REF(VAR8,1)*1000;
VAR10:=VAR9>0;
VAR11:=VAR9<=0;
VAR12:=EMA(C,3);
VAR13:=EMA(SLOPE(C,22)*20+C,54);
VAR14:=crOSS(VAR12,VAR13);
VAR15:=CROSS(VAR13,VAR12);
VAR16:=IF(VAR14 AND VAR10,1,IF(COUNT(VAR14 AND VAR11,BARSLAST(VAR15)+1)=1 AND CROSS(VAR9,0),1,0));
VAR17:=VAR16 AND COUNT(VAR16,BARSLAST(VAR15)+1)=1;
VAR18:=VAR15 AND COUNT(VAR15,BARSLAST(VAR17)+1)=1;
VAR19:=C/REF(O,BARSLAST(VAR17))<(1-7/100) AND COUNT(VAR17,BARSLAST(VAR17)+1)=1 AND COUNT(VAR18,BARSLAST(VAR17)+1)=0;
VAR20:=IF(VAR19 AND COUNT(VAR19,BARSLAST(VAR17)+1)=1,1,IF(VAR18 AND COUNT(VAR19,BARSLAST(VAR17)+1)=0,1,0));
VAR21:=COUNT(VAR19,BARSLAST(VAR17)+1)>=1 AND CROSS(C,0.965*REF(O,BARSLAST(VAR17)));
VAR22:=((VAR21 AND VAR20)=0);
VAR23:=((VAR17 AND COUNT(VAR20,1)=0) OR VAR21) AND VAR22;
VAR24:=(C/REF(O,BARSLAST(VAR21))<(1-7/100) AND COUNT(VAR21,BARSLAST(VAR21)+1)=1 AND COUNT(VAR18,BARSLAST(VAR21)+1)=0);
VAR25:=(VAR18 AND COUNT(VAR21,BARSLAST(VAR23)+1)=1) OR (VAR24 AND SUM(VAR24,0)=1);
VAR26:=((VAR25 AND VAR23)=0);
VAR27:=((VAR20 AND COUNT(VAR20,BARSLAST(VAR23)+1)=1) OR VAR25) AND VAR26;
VAR28:=VAR23 AND COUNT(VAR23,BARSLAST(VAR27)+1)=1;
VAR29:=VAR27 AND COUNT(VAR27,BARSLAST(VAR28)+1)=1;
VAR30:=BARSLAST(VAR28)+1>=1 AND COUNT(VAR29,BARSLAST(VAR28)+1)=0;
VAR31:=BARSLAST(VAR29)+1>=1 AND COUNT(VAR28,BARSLAST(VAR29)+1)=0;
VAR32:=IFF(COUNT(VAR29,BARSCOUNT(C))=0 AND COUNT(VAR28,BARSCOUNT(C))=0,1,0);
VAR33:=VAR32 AND CROSS(VAR7,0);
VAR34:=VAR32 AND CROSS(0,VAR7) AND COUNT(VAR33,BARSLAST(C>0))>=1;
VAR35:=COUNT(VAR33,BARSLAST(VAR33)+1)=1 AND COUNT(VAR34,BARSLAST(VAR33)+1)=0 AND COUNT(VAR29,BARSCOUNT(C))=0;
VAR36:=COUNT(VAR34,BARSLAST(VAR34)+1)=1 AND COUNT(VAR33,BARSLAST(VAR34)+1)=0 AND COUNT(VAR28,BARSCOUNT(C))=0;
VAR37:=COUNT(VAR33,BARSCOUNT(C));
VAR38:=COUNT(VAR34,BARSCOUNT(C));
VAR39:=IFF(VAR32,VAR33,VAR28);
VAR40:=IFF(VAR32,VAR34 AND (VAR37=VAR38 AND VAR37>=0 AND COUNT(VAR29,BARSCOUNT(C))=1 AND COUNT(VAR28,BARSCOUNT(C))=0)=0,VAR29 AND (VAR37==VAR38 AND VAR37>=0 AND COUNT(VAR29,BARSCOUNT(C))=1 AND COUNT(VAR28,BARSCOUNT(C))=0)=0);
VAR41:=(COUNT(VAR33,BARSLAST(C>0))=0 AND COUNT(VAR39,BARSLAST(C>0))=0)=0;
VAR42:=VAR39 AND COUNT(L<VAR5,10)>=1;
VAR43:=VAR39 AND COUNT(L<VAR4,10)>=1;
VAR44:=VAR39 AND COUNT(L<VAR3,10)>=1;
VAR45:=EXIST(VAR42,BARSLAST(VAR17)+1) AND VAR21 AND VAR39;
VAR46:=EXIST(VAR43,BARSLAST(VAR17)+1) AND VAR21 AND VAR39;
VAR47:=EXIST(VAR44,BARSLAST(VAR17)+1) AND VAR21 AND VAR39;
VAR48:=IFF(VAR42,5,IFF(VAR43,4,IFF(VAR44,3,0)));
VAR49:=IFF(VAR45,5,IFF(VAR46,4,IFF(VAR47,3,0)));
VAR50:=IFF(VAR48>0,VAR48,VAR49);
上指:VAR50==3 AND VAR1;