MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MAQ:=MA(C,5);{九毛八公式指标网www.9m8.cn}
趋势线:HHV(MAQ,90),LINETHICK2,COLORE66878;
辅助线:MA(C,25)+MA(C,25)*20/100,DOTLINE,COLORGREEN;
TJ1:=REF(C,3)/REF(C,4) 1.09 AND MA(C,5) MA(C,10) AND MA(C,10) MA(C,20) AND MA(C,20) MA(C,30);
TJ3:=REF(O,1) REF(MA(C,5),1) AND O MA(C,20) AND C MA(C,10);
TJ4:=EVERY(MA(C,5) MA(C,10),3) AND H/REF(C,1) 1.041 AND REF(C,1)/REF(C,2) 1.041 AND MA(C,10) MA(C,20) AND MA(C,20) MA(C,30) AND REF(O,1) REF(MA(C,20),1)
AND REF(C,1) REF(MA(C,10),1) AND C MA(C,60) AND MA(C,5) MA(C,60);
TJ5:=NOT(REF(C,1) REF(MA(C,5),1) AND REF(C,2) REF(MA(C,5),2));
TJXG1:=COUNT(TJ1,10) AND TJ3 AND TJ4 AND TJ5;
FZ2:=MA(C,25)+MA(C,25)*20/100;
FZ1:=HHV(MAQ,90);
FZX:=C FZ1 OR H
WUJQ:=NOT(COUNT(REF(TJXG1,1),5)) AND TJXG1 AND FZX;
DRAWICON(WUJQ,L*0.95,9);
DRAWTEXT(WUJQ,L*0.91,'擒庄'),COLORYELLOW;