N:=10;
CC:=(H+L)/2;
TJ1:=(EXIST(V=LLV(V,N),5) AND V/REF(V,1)>3) OR (EXIST(L=LLV(L,60),20) AND MA(V,10)/MA(REF(V,10),10)>1.5);
DD:=SMA(CC,5,1)-SMA(CC,34,1);
DDD:SMA(DD,2,1);
B:IF(DDD>REF(DDD,1),DDD,DRAWNULL),STICK,COLORRED;
S:IF(DDD
TJ2:=DDD>REF(DDD,1) AND REF(DDD,2)>REF(DDD,1) AND DDD
买入:EXIST(TJ1,N) OR TJ2,COLORYELLOW,LINETHICK1;