{精华指标合集1}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,60);
MA6:MA(CLOSE,120);
MA7:MA(CLOSE,240);
U1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
U2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
SSXG:=U1 AND U2;
A1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);
A2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1);
A3:=OREF(H,1);
XG1:=A1 AND A2 AND A3;
XGXG1:=SSXG AND XG1;
DRAWTEXT(XGXG1,H*1.03,'←-顺上过影'),COLORRED,LINETHICK2;
BB1:=REF(C,3)/REF(C,4)>1.09 AND REF(H,3)>REF(O,3) AND REF(C,2)/REF(C,3)<1.09 AND REF(C,4)/REF(C,5)<1.09;
BB2:=(C>REF(C,3) AND C/REF(C,1)>1.041) AND COUNT(BETWEEN(REF(C,1)/REF(C,2),1.05,0.97),2)=2;
BB3:=REF(O,1)/REF(C,3)<1.05 AND REF(O,2)/REF(C,3)<1.05;
BB4:=(REF(C,3)/REF(C,1)<1.02 AND REF(C,3)/REF(C,2)<1.02);
XGB1:=BB1 AND BB2 AND BB3 AND BB4;
ZHXG2:=SSXG AND XGB1;
DRAWTEXT(ZHXG2,H*1.02,'←-顺上飞燕'),COLORFFFFCC,LINETHICK2;
H1:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
H2:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
XGH1:=H1 AND H2;
Y1:=REF(O,1)/REF(C,1)>1.05;
Y2:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L
XGH2:=Y1 AND Y2;
XGY:=XGH1 OR XGH2;
ZHXG3:=SSXG AND XGY;
DRAWTEXT(ZHXG3,H*1.04,'←-顺上包阴'),COLORGREEN,LINETHICK2;
SA1:=REF(C,2)>REF(O,2) AND REF(C,2)/REF(O,2)>1.02;
SA2:=REF(H,1)>REF(MAX(C,O),1) AND REF(MIN(C,O),1)>REF(L,1)
AND REF(MAX(C,O)/MIN(C,O)<1.01,1);
SA3:=C>O AND MAX(C,O)/MIN(C,O)>1.03 AND C>REF(O,1) AND V>REF(V,1)
AND C>MA(C,60) AND O
SA4:=REF(C,2)>REF(MAX(C,O),1) AND REF(V,1)
SYXG:=SA1 AND SA2 AND SA3 AND SA4;
DRAWTEXT(SYXG,H*1.02,'←-双阳加星'),COLORFFFFCC,LINETHICK2;
WA1:=C/REF(C,1)>1.07 AND C/O>1.03;
WA2:=REF(C,3)1.041 AND C>O;
WA3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.02 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.02;
WA4:=MA(C,5)>MA(C,20);
WJXG:=COUNT(REF(WA1,1),15) AND WA2 AND WA3 AND WA4;
DRAWTEXT(WJXG,L*1.0,'●挖坑藏金'),COLORRED,LINETHICK2;
S:=(REF(H,1)-MAX(REF(O,1),REF(C,1)))/MAX(O,C)*100>1.2 AND (MIN(REF(O,1),REF(C,1))-REF(L,1))/L*100<1.2;
X:=(MIN(O,C)-L)/L*1400>1.2 AND (H-MAX(O,C))/MAX(O,C)*100<1.2;
K:=V>REF(V,1)/2;
B1:=C>O AND C/REF(C,1)>1.031 AND C>MA(C,5) AND MA(C,5)>MA(C,10);
RCXG1:=S AND X AND K AND B1;
DRAWTEXT(WJXG,L*1.05,'←-顺上揉搓'),COLORFFFFCC,LINETHICK2;
Z1:=REF(C,2)/REF(C,3)>1.02 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))>1.01
AND MAX(REF(O,1),REF(C,1))
Z2:=REF(H,2)/MAX(REF(C,2),REF(O,2))<1.03;
Z3:=C>MAX(REF(C,1),REF(O,1)) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20);
Z4:=REF(H,1)/REF(MAX(C,O),1)<1.06;
Z5:=(REF(C,2)/REF(O,2)<1.05 AND REF(C,2)>REF(O,2)) OR (REF(C,2)
Z6:=(REF(C,3)/REF(C,4)<1.09 AND REF(C,4)/REF(C,5)<1.09 AND REF(C,5)/REF(C,6)<1.09) OR
(REF(C,3)=REF(L,3) AND REF(C,3)/REF(C,4)>1.095);
TZXG:=Z1 AND Z2 AND Z3 AND Z4 AND Z5 AND Z6;
DRAWTEXT(TZXG,L*1.02,'★顺上跳蚤'),COLOR00FFFF;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
ZMA1:=BETWEEN(REF(C,1)/REF(C,2),0.97,1.05) AND MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.03;
ZMA2:=C=HHV(C,5) AND C>O AND C/REF(C,1)>1.03;
ZMA3:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60) AND MA(C,30)>MA(C,120);
ZMA4:=DIFF>DEA;
ZMA5:=COUNT(REF(C,1)>REF(MA(C,20),1) AND REF(MA(C,10)>MA(C,20),1),5)=5;
ZMXG1:=COUNT(ZMA1,5)=5 AND ZMA2 AND ZMA3 AND ZMA4;
DRAWTEXT(ZMXG1,L*1.03,'←--芝麻开花'),COLORYELLOW;