抄底逃顶公式:=POW(10,6);
通达信:=IF(抄底逃顶公式>0,1,0);{通达信公式-通达信指标-www.gs6699.com}
选股指标:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
fasfe4:=HIGH-REF(HIGH,1);
fasfe5:=REF(LOW,1)-LOW;
fasfe6:=SUM(IF(fasfe4>0 AND fasfe4>fasfe5,fasfe4,0),20);
fasfe7:=SUM(IF(fasfe5>0 AND fasfe5>fasfe4,fasfe5,0),20);
fasfe8:=LLV(LOW,240);
fasfe9:=HHV(HIGH,240);
faaaf1:=(CLOSE-fasfe8)/fasfe8*100;
faaaf2:=fasfe7/选股指标/2*100;
faaaf3:=(fasfe9-CLOSE)/CLOSE*100;
HH:=faaaf1/faaaf3;
抄底逃顶公式0:=HHV(CLOSE,20);
抄底逃顶公式1:=EMA(抄底逃顶公式0,30)*1.03;
抄底逃顶公式2:=EMA(抄底逃顶公式0,120)*1.03;
抄底逃顶公式3:=(CLOSE+HIGH+LOW)/3;
抄底逃顶公式4:=EMA(抄底逃顶公式3,10);
抄底逃顶公式5:=REF(抄底逃顶公式4,1);
faaaf4:=IF(faaaf1>15 AND faaaf1>faaaf2,faaaf1,DRAWNULL);
faaaf5:=IF(faaaf1>30 AND faaaf1>faaaf3,faaaf1,DRAWNULL);
XG:(FILTER(faaaf4 OR faaaf5 AND faaaf1>=HHV(faaaf1,10) AND OPEN/抄底逃顶公式4<1.08 AND OPEN/抄底逃顶公式1<1.1 AND OPEN/抄底逃顶公式2<1.2 AND CLOSE>抄底逃顶公式1 AND CLOSE>=REF(CLOSE,1)*1.05 AND faaaf3<60 AND faaaf1<120,30))*通达信;