同花顺筹码主图指标 操盘必备 支撑压力了然 源码附图

DA0:=IF(240>TOTALBARSCOUNT,TOTALBARSCOUNT,240);
DA1:=IF(CURRBARSCOUNT>DA0,0,DA0);
DA2:=IF(CURRBARSCOUNT<=DA1,C,DRAWNULL);
H1:=REFDATE(HHV(H,DA1),DATE);
L0:=REFDATE(LLV(L,DA1),DATE);
HL:=EXP(LN(H1/L0)/10);
LH1:=SUM(IF(DA2>=(H1/POW(HL,1)) AND DA2<(H1/POW(HL,0)),V,0),DA1);
LH2:=SUM(IF(DA2>=(H1/POW(HL,2)) AND DA2<(H1/POW(HL,1)),V,0),DA1);
LH3:=SUM(IF(DA2>=(H1/POW(HL,3)) AND DA2<(H1/POW(HL,2)),V,0),DA1);
LH4:=SUM(IF(DA2>=(H1/POW(HL,4)) AND DA2<(H1/POW(HL,3)),V,0),DA1);
LH5:=SUM(IF(DA2>=(H1/POW(HL,5)) AND DA2<(H1/POW(HL,4)),V,0),DA1);
LH6:=SUM(IF(DA2>=(H1/POW(HL,6)) AND DA2<(H1/POW(HL,5)),V,0),DA1);
LH7:=SUM(IF(DA2>=(H1/POW(HL,7)) AND DA2<(H1/POW(HL,6)),V,0),DA1);
LH8:=SUM(IF(DA2>=(H1/POW(HL,8)) AND DA2<(H1/POW(HL,7)),V,0),DA1);
LH9:=SUM(IF(DA2>=(H1/POW(HL,9)) AND DA2<(H1/POW(HL,8)),V,0),DA1);
LH10:=SUM(IF(DA2>=(H1/POW(HL,10)) AND DA2<(H1/POW(HL,9)),V,0),DA1);
L1:=REFDATE(HHV(LH1,DA1),DATE);
L2:=REFDATE(HHV(LH2,DA1),DATE);
L3:=REFDATE(HHV(LH3,DA1),DATE);
L4:=REFDATE(HHV(LH4,DA1),DATE);
L5:=REFDATE(HHV(LH5,DA1),DATE);
L6:=REFDATE(HHV(LH6,DA1),DATE);
L7:=REFDATE(HHV(LH7,DA1),DATE);
L8:=REFDATE(HHV(LH8,DA1),DATE);
L9:=REFDATE(HHV(LH9,DA1),DATE);
L10:=REFDATE(HHV(LH10,DA1),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
STICKLINE(CEILING(DA1*L1/SS)*3>=CURRBARSCOUNT,H1/POW(HL,0)*99/100,H1/POW(HL,1),9,0),coloryellow,LINETHICK3;
STICKLINE(CEILING(DA1*L2/SS)*3>=CURRBARSCOUNT,H1/POW(HL,1)*99/100,H1/POW(HL,2),9,0),coloryellow,LINETHICK3;
STICKLINE(CEILING(DA1*L3/SS)*3>=CURRBARSCOUNT,H1/POW(HL,2)*99/100,H1/POW(HL,3),9,0),colorcyan,LINETHICK3;
STICKLINE(CEILING(DA1*L4/SS)*3>=CURRBARSCOUNT,H1/POW(HL,3)*99/100,H1/POW(HL,4),9,0),colorcyan,LINETHICK3;
STICKLINE(CEILING(DA1*L5/SS)*3>=CURRBARSCOUNT,H1/POW(HL,4)*99/100,H1/POW(HL,5),9,0),colorgreen,LINETHICK3;
STICKLINE(CEILING(DA1*L6/SS)*3>=CURRBARSCOUNT,H1/POW(HL,5)*99/100,H1/POW(HL,6),9,0),colorgreen,LINETHICK3;
STICKLINE(CEILING(DA1*L7/SS)*3>=CURRBARSCOUNT,H1/POW(HL,6)*99/100,H1/POW(HL,7),9,0),colorred,LINETHICK3;
STICKLINE(CEILING(DA1*L8/SS)*3>=CURRBARSCOUNT,H1/POW(HL,7)*99/100,H1/POW(HL,8),9,0),colorred,LINETHICK3;
STICKLINE(CEILING(DA1*L9/SS)*3>=CURRBARSCOUNT,H1/POW(HL,8)*99/100,H1/POW(HL,9),9,0),colormagenta,LINETHICK3;
STICKLINE(CEILING(DA1*L10/SS)*3>=CURRBARSCOUNT,H1/POW(HL,9)*99/100,H1/POW(HL,10),9,0),colormagenta,LINETHICK3;
STICKLINE(C>REF(C,1),C,REF(C,1),6,0),colorred;
STICKLINE(C<REF(C,1),C,REF(C,1),6,0),colorgreen;
STICKLINE(C=REF(C,1),C,REF(C,1),6,0),colorwhite;
STICKLINE(C>REF(C,1),H,L,1,0),colorred;
STICKLINE(C<REF(C,1),H,L,1,0),colorgreen;
STICKLINE(C=REF(C,1),H,L,1,0),colorwhite;
aa:SUM(C*VOL,10)/SUM(VOL,10),colorwhite,LINETHICK2;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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