因为各种软件的筹码函数存在差异,这里以飞狐软件发筹码突破选股公式,如果是其它软件请把ANY(存在)函数改为对应的函数即可
源码
B15:=((COST(18.82)+COST(11.18))/2*0.38+2.62*COST(15))/3;
B85:=((COST(88.82)+COST(81.18))/2*0.38+2.62*COST(85))/3;
B95:=((COST(98.82)+COST(91.18))/2*0.38+2.62*COST(95))/3;
分散70%:=(B85-B15)/B15*100;
突破:FILTER(CROSS(C,REF(B95,1))AND ANY(分散70%<20,13),11),COLORYELLOW,LINETHICK2;
回马:ANY(CROSS(C,REF(B95,1)),3) AND BARSLAST(CROSS(REF(B95,1),C))>=7 AND 分散70%<30,COLORGREEN;