移动筹码分布优化版

统计时长:IF(选择方式=1,CONST(SUMBARS(V/FINANCE(7)*100,换手次数)),时长),NODRAW;
 KK:=统计时长;高:=CONST(HHV(H,KK));
低:=CONST(LLV(L,KK));
 STICKLINE(CURRBARSCOUNT=KK,高,低,0,0);{竖线统计起点位置}
XX:=(高-低);
均价:AMOUNT/V/100,NODRAW;
 L0:=低+XX*0/9;
 L1:=低+XX*1/9;
 L2:=低+XX*2/9;
 L3:=低+XX*3/9;
 L4:=低+XX*4/9;
 L5:=低+XX*5/9;
 L6:=低+XX*6/9;
 L7:=低+XX*7/9;
 L8:=低+XX*8/9;
 L9:=低+XX*9/9;
 MLZ:=SUM((CURRBARSCOUNT<KK+1)*V,KK),NODRAW;
 ML1:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L0-0.001,L1+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML1*200)),L0,L1*0.99,5,0),COLORFF5555;
 ML2:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L1,L2+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML2*200)),L1,L2*0.99,5,0),COLORFFAA55;
 ML3:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L2,L3+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML3*200)),L2,L3*0.99,5,0),COLORAAFF55;
 ML4:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L3,L4+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML4*200)),L3,L4*0.99,5,0),COLOR5FFF00;
 ML5:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L4,L5+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML5*200)),L4,L5*0.99,5,0),COLORFFFFF0; ML6:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L5,L6+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML6*200)),L5,L6*0.99,5,0),COLORFF0FFF;
 ML7:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L6,L7+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML7*200)),L6,L7*0.99,5,0),COLOR509FDD;
 ML8:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L7,L8+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML8*200)),L7,L8*0.99,5,0),COLORAA5DDD;ML9:=SUM((CURRBARSCOUNT<KK+1 AND RANGE(均价,L8,L9+0.001))*V,KK)/MLZ;
 STICKLINE(CURRBARSCOUNT<CONST(INTPART(ML9*200)),L8,L9*0.99,5,0),COLOR0055DD;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);




未来函数检测结果如下:
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图