AJ:=(AJ1+AJ2+AJ3+AJ4+AJ5)/5;
BJ1:=(COST(90)+COST(10))/2;BJ2:=(COST(80)+COST(20))/2;BJ3:=(COST(70)+COST(30))/2;BJ4:=(COST(60)+COST(40))/2;BJ5:=(COST(50));
BJ:=(BJ1+BJ2+BJ3+BJ4+BJ5)/5;
筹峰:=EMA((AJ+BJ)/2,3);
日集中度:=(AMOUNT/筹峰)/(CAPITAL-AJB)*2;
五日集中度:=SUM(AMOUNT/筹峰,5)/(CAPITAL-AJB)/100*100;
五日集中度>100;
下面是低位筹码集中的列子(002609):
主力筹码集中度线金叉主力持仓线。
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2; 指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3; 强弱分界: 80,COLORYELLOW; 主力筹码集中度:WINNER(C)*100,COLORRED,LINETHICK2; 散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN,LINETHICK2;
做成通达信选股预警公式
主力:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3); 指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3); 主力:=WINNER(C)*100; cross(主力,主力);
主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3) ; 指数趋势:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3); 主力筹码集中度:=WINNER(C)*100 ; 散筹筹码集中度:=(WINNER(C*1.1)-WINNER(C*0.9))*100 ; XG:CROSS(主力筹码集中度,主力持仓);