将个股单日最大筹码峰转换成一条曲线
2020/1/19 18:32:17
公式编写说明:
想请教一下关于通达信筹码指标的问题1、如何确定一只个股单日最大筹码峰?2、能否将它转换成一条曲线?因为可以通过这条曲线的角度变化来直观分析筹码的稳定度和主力持仓意愿参考案例是联化科技和恩华药业它们在最近三个月以来一直处于慢牛上涨中、但最大筹码峰几乎没有变化、也就是呈现水平状态说明筹码锁定良好、主力出货愿望不强、后面可能还会上涨请老师费心谢谢
公式源码示例:
A20:=WINNER(COST(97))-WINNER((COST(97)-COST(3))/40*38+COST(3));
A19:=WINNER((COST(97)-COST(3))/40*38+COST(3))-WINNER((COST(97)-COST(3))/40*36+COST(3));
A18:=WINNER((COST(97)-COST(3))/40*36+COST(3))-WINNER((COST(97)-COST(3))/40*34+COST(3));
A17:=WINNER((COST(97)-COST(3))/40*34+COST(3))-WINNER((COST(97)-COST(3))/40*32+COST(3));
A16:=WINNER((COST(97)-COST(3))/40*32+COST(3))-WINNER((COST(97)-COST(3))/40*30+COST(3));
A15:=WINNER((COST(97)-COST(3))/40*30+COST(3))-WINNER((COST(97)-COST(3))/40*28+COST(3));
A14:=WINNER((COST(97)-COST(3))/40*28+COST(3))-WINNER((COST(97)-COST(3))/40*26+COST(3));
A13:=WINNER((COST(97)-COST(3))/40*26+COST(3))-WINNER((COST(97)-COST(3))/40*24+COST(3));
A12:=WINNER((COST(97)-COST(3))/40*24+COST(3))-WINNER((COST(97)-COST(3))/40*22+COST(3));
A11:=WINNER((COST(97)-COST(3))/40*22+COST(3))-WINNER((COST(97)-COST(3))/40*20+COST(3));
A10:=WINNER((COST(97)-COST(3))/40*20+COST(3))-WINNER((COST(97)-COST(3))/40*18+COST(3));
A9:=WINNER((COST(97)-COST(3))/40*18+COST(3))-WINNER((COST(97)-COST(3))/40*16+COST(3));
A8:=WINNER((COST(97)-COST(3))/40*16+COST(3))-WINNER((COST(97)-COST(3))/40*14+COST(3));
A7:=WINNER((COST(97)-COST(3))/40*14+COST(3))-WINNER((COST(97)-COST(3))/40*12+COST(3));
A6:=WINNER((COST(97)-COST(3))/40*12+COST(3))-WINNER((COST(97)-COST(3))/40*10+COST(3));
A5:=WINNER((COST(97)-COST(3))/40*10+COST(3))-WINNER((COST(97)-COST(3))/40*8+COST(3));
A4:=WINNER((COST(97)-COST(3))/40*8+COST(3))-WINNER((COST(97)-COST(3))/40*6+COST(3));
A3:=WINNER((COST(97)-COST(3))/40*6+COST(3))-WINNER((COST(97)-COST(3))/40*4+COST(3));
A2:=WINNER((COST(97)-COST(3))/40*4+COST(3))-WINNER((COST(97)-COST(3))/40*2+COST(3));
A1:=WINNER((COST(97)-COST(3))/40*2+COST(3))-WINNER(COST(3));
MX:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(
MAX(MAX(A1,A2),A3),A4),A5),A6),A7),A8),A9),A10),A11),A12),A13),A14),
A15),A16),A17),A18),A19),A20);
B0:=IF(A20=MX,(COST(97)-COST(3))/40*39+COST(3),
IF(A19=MX,(COST(97)-COST(3))/40*37+COST(3),
IF(A18=MX,(COST(97)-COST(3))/40*35+COST(3),
IF(A17=MX,(COST(97)-COST(3))/40*33+COST(3),
IF(A16=MX,(COST(97)-COST(3))/40*31+COST(3),
IF(A15=MX,(COST(97)-COST(3))/40*29+COST(3),
IF(A14=MX,(COST(97)-COST(3))/40*27+COST(3),
IF(A13=MX,(COST(97)-COST(3))/40*25+COST(3),
IF(A12=MX,(COST(97)-COST(3))/40*23+COST(3),
IF(A11=MX,(COST(97)-COST(3))/40*21+COST(3),
IF(A10=MX,(COST(97)-COST(3))/40*19+COST(3),
IF(A9=MX,(COST(97)-COST(3))/40*17+COST(3),
IF(A8=MX,(COST(97)-COST(3))/40*15+COST(3),
IF(A7=MX,(COST(97)-COST(3))/40*13+COST(3),
IF(A6=MX,(COST(97)-COST(3))/40*11+COST(3),
IF(A5=MX,(COST(97)-COST(3))/40*9+COST(3),
IF(A4=MX,(COST(97)-COST(3))/40*7+COST(3),
IF(A3=MX,(COST(97)-COST(3))/40*5+COST(3),
IF(A2=MX,(COST(97)-COST(3))/40*3+COST(3),
IF(A1=MX,(COST(97)-COST(3))/40*1+COST(3),0))))))))))))))))))));
过滤:=EXIST(CROSS(ABS(B0/REF(B0,1)-1),0.05),2);
密集价:IF(过滤,REF(B0,BARSLAST(过滤=0)),B0),COLORYELLOW;
密集价*1.05,COLORGREEN;
密集价/1.05,COLORGREEN;
看股 吧公式 www.kangub a.com
其它股票公式列表