长期趋势:=EMA(EMA(C,34),13),COLORRED,LINETHICK3;
VAR5:=REF(MA(C,5),1)<REF(MA(C,10),1)AND MA(C,10)>REF(MA(C,10),1);
VAR6:=C>MA(C,10) OR H>=MA(C,10);
VAR7:=C>O AND REF(C,1)<MA(C,10) AND VAR6 AND VAR5 AND MA(C,21)<MA(C,10);
VAR8:=VAR7 AND (crOSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势));
VAR9:=((C>REF(C,1)) AND (C>REF(C,2)));
VAR10:=((REF(VAR9,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR11:=((REF(VAR10,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR12:=((REF(VAR11,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR13:=((REF(VAR12,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR14:=((REF(VAR13,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR15:=((REF(VAR14,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR16:=((REF(VAR15,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR17:=((REF(VAR16,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR18:=((REF(VAR17,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR19:=((REF(VAR18,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR20:=((REF(VAR19,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR21:=((((VAR9 OR VAR10) OR VAR11) OR VAR12) OR VAR13);
VAR22:=((((VAR21 OR VAR14) OR VAR15) OR VAR16) OR VAR17);
VAR23:=((C<REF(C,1)) AND (C<REF(C,2)));
VAR24:=((REF(VAR23,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR25:=((REF(VAR24,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR26:=((REF(VAR25,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR27:=((REF(VAR26,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR28:=((REF(VAR27,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR29:=((REF(VAR28,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR30:=((REF(VAR29,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR31:=((REF(VAR30,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR32:=((REF(VAR31,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR33:=((REF(VAR32,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR34:=((REF(VAR33,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR35:=((((VAR23 OR VAR24) OR VAR25) OR VAR26) OR VAR27);
VAR36:=((((VAR35 OR VAR28) OR VAR29) OR VAR30) OR VAR31);
VAR37:=(REF((((VAR36 OR VAR32) OR VAR33) OR VAR34),1) AND VAR9);
VAR38:=(REF((((VAR22 OR VAR18) OR VAR19) OR VAR20),1) AND VAR23);
VAR39:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20));
红球:VAR39;