请老师编写股价处于此线上的选股公式,通达信用,谢谢!
AL:=SUMBARS(V,CAPITAL*1);
AL1:=SUM(COST(10),AL)/AL;
AL2:=SUM(COST(20),AL)/AL;
AL3:=SUM(COST(30),AL)/AL;
AL4:=SUM(COST(40),AL)/AL;
AL5:=SUM(COST(50),AL)/AL;
成本线:(5*AL1+4*AL2+3*AL3+2*AL4+AL5)/15,COLOR00FF00;
公式模块:
AL:=SUMBARS(V,CAPITAL*1);
AL1:=SUM(COST(10),AL)/AL;
AL2:=SUM(COST(20),AL)/AL;
AL3:=SUM(COST(30),AL)/AL;
AL4:=SUM(COST(40),AL)/AL;
AL5:=SUM(COST(50),AL)/AL;
成本线:=(5*AL1+4*AL2+3*AL3+2*AL4+AL5)/15,COLOR00FF00;
C