N:=6;
M:=3;
W:=1;
PSY:COUNT(CLOSE>REF(CLOSE,1),N)/N*100;
psyMA:MA(PSY,M);
V11:=MA(C,3)=LLV(MA(C,3),7);
V12:=MA(C,3)
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
卖:IF(V1 AND V2 AND V3 AND V4,40,10),COLORMAGENTA,LINETHICK2;