N:=12;
M:=6;
W:=1;
PSY:COUNT(CLOSE>REF(CLOSE,1),N)/N*100;
psyMA:MA(PSY,M);
50,COLORLIGREEN,LINETHICK4,POINTDOT;
V11:=MA(C,3)=LLV(MA(C,3),7);
V12:=MA(C,3)<MA(C,5);
V13:=MA(V,5)<MA(V,10)*0.99;
V14:=COUNT(MA(C,1)<REF(C,1),2)=2;
买:IF(V11 AND V12 AND V13 AND V14,80,40),COLORBLUE,LINETHICK2;