趋势线上穿主力成本线的选股公式,谢谢!
下面是大智慧的趋势线指标公式和股价上穿主力成本线线的指标公式,请改为同花顺可用的趋势线上穿主力成本线的选股公式,非常感谢!

大智慧趋势线指标公式如下:
DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));
ZF:=(C/REF(C,1)-1)*100;
趋势:SUM(ZF,3),COLORFFFFFF,LINETHICK2;
超涨:IF(MA(ZF,3)>=5,15,0),COLOR0000FF;
WK:=趋势=LLV(趋势,4) AND 趋势-HHV(趋势,4)<=0-20 AND HHV(趋势,4)>=8;
挖坑:IF(WK,0-10,0),COLOR00FFFF;
超跌:IF(MA(ZF,3)<=0-5,0-15,0),COLOR00FF00;
CZSJ:=BARSLAST(超涨=15);
CDSJ:=BARSLAST(超跌=0-15);
CZQY:=CZSJ<=8 AND CZSJ<=CDSJ AND COUNT(MA(趋势,3)>=0-5,CZSJ)=CZSJ;
CDQY:=CDSJ<=8 AND CDSJ<=CZSJ AND COUNT(MA(趋势,3)<=5,CDSJ)=CDSJ;
关注期:IF(CZQY,CZSJ+1,0),COLORFF00FF,POINTDOT;
跟踪期:IF(CDQY,0-CDSJ-1,0),COLORFF8800,POINTDOT;

股价上穿主力成本线线的指标公式如下:
a:=SUMBARS(V,CAPITAL*1);
a1:=SUM(COST(10),a)/a;
a2:=SUM(COST(20),a)/a;
a3:=SUM(COST(30),a)/a;
a4:=SUM(COST(40),a)/a;
a5:=SUM(COST(50),a)/a;
e:=LLV(L,250)=L;
e1:=BARSLAST(e);
ok:=(5*a1 AND 4*a2 AND 3*a3 AND 2*a4 AND a5)/15;
ok1:IF(CROSS(C,ok) AND e1>=40,1,0 );