抓次日涨停:=EMA(C,5);
几乎百分百:=EMA(C,13);{选股公式-选股指标www.gs6699.com}
选股公式:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(几乎百分百,抓次日涨停))+1),LLV(L,BARSLAST(CROSS(几乎百分百,抓次日涨停))+1),H=HHV(H,BARSLAST(CROSS(抓次日涨停,几乎百分百))+1),HHV(H,BARSLAST(CROSS(抓次日涨停,几乎百分百))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(抓次日涨停,几乎百分百))+1),HHV(H,BARSLAST(CROSS(抓次日涨停,几乎百分百))+1),L=LLV(L,BARSLAST(CROSS(几乎百分百,抓次日涨停))+1),LLV(L,BARSLAST(CROSS(几乎百分百,抓次日涨停))+1),0),COLOR00FF00;
ffdss1:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
ffdss2:=IF((LLV(ffdss1,2)=LLV(ffdss1,7) AND COUNT(ffdss1<0,2) AND CROSS(ffdss1,MA(ffdss1,2))) AND REF(DOWN,1)<REF(DOWN,2) AND 选股公式>REF(DOWN,1),DRAWNULL,100);
ffdss2=100;