N:=30;
N1:=20;
通达信主图:=SUMBARS(V,CAPITAL*1);
指标选股公式:=1;{通达信指标www.gs6699.com}
aaxxdds1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N;
cccce1:=SUM(COST(10),通达信主图)/通达信主图;
cccce2:=SUM(COST(20),通达信主图)/通达信主图;
cccce3:=SUM(COST(30),通达信主图)/通达信主图;
cccce4:=SUM(COST(40),通达信主图)/通达信主图;
cccce5:=SUM(COST(50),通达信主图)/通达信主图;
E:=LLV(L,250)=L;
fffsxx1:=BARSLAST(E);
OK:=(5*cccce1+4*cccce2+3*cccce3+2*cccce4+cccce5)/15;
fffsxx2:=IF(aaxxdds1,1,0);
fffsxx3:=IF(CROSS(C,OK) AND fffsxx1>=40,1,0 ) AND AMOUNT>指标选股公式;
fffsxx5:fffsxx2 OR fffsxx3;