通达信筹码突破+筹码峰主图指标公式

合集下载

通达信 筹码峰公式(一)

通达信 筹码峰公式(一)

通达信筹码峰公式(一)通达信筹码峰公式简介•筹码峰公式是通达信软件内部的一种技术指标,用于分析股票市场的主力筹码情况。

•该公式通过计算成交量与股价的变化关系,判断主力资金的进出情况,从而预测股票价格的走势。

相关公式1.成交量的积累值(VolumeSum):用于计算一段时间内成交量的累积值,公式如下:VolumeSum = V + Ref(VolumeSum, 1)–其中,V表示当日成交量。

例子:假设当日成交量为200,昨日的成交量累积值为100,则当日的成交量累积值为 + 100)。

2.价格乘以成交量的积累值(PV):用于计算一段时间内价格与成交量的乘积的累积值,公式如下:PV = C * V + Ref(PV, 1)–其中,C表示当日收盘价,V表示当日成交量。

例子:假设当日收盘价为10元,成交量为200,昨日的价格乘以成交量的累积值为5000,则当日的价格乘以成交量的累积值为 * 200 + 5000)。

3.筹码峰指标(CMF):用于计算一段时间内主力资金流入的情况,公式如下:CMF = Sum(PV, N) / Sum(V, N)–其中,N表示计算的天数,Sum表示某一段时间内的累加和。

例子:假设过去5天的价格乘以成交量的累积值之和为35000,过去5天的成交量累积值之和为5000,则筹码峰指标为 / 5000)。

解释说明•成交量的积累值(VolumeSum)表示一段时间内成交量的累积情况,可以用于判断量能的变化趋势。

如果成交量的累积值不断增长,则说明市场中存在较多的主力资金在进入或离开股票;•价格乘以成交量的积累值(PV)表示一段时间内主力资金的积累情况,可以用于判断主力资金的活跃程度。

如果价格乘以成交量的累积值不断增长,则说明主力资金正在积极买入股票;•筹码峰指标(CMF)通过计算价格乘以成交量和成交量的积累值之间的比值,用于判断主力资金流入的情况。

如果筹码峰指标大于1,则说明市场中主力资金净流入,股票价格有上涨的可能。

通达信特色筹码峰指标

通达信特色筹码峰指标

通达信特色筹码峰指标一、通达信筹码峰指标简介通达信筹码峰指标是一种用于分析股票市场中投资者持股成本和集中度的技术指标。

它通过计算股票在不同价格区间内的筹码分布,揭示了市场中的主要压力位和支撑位,为投资者提供了一定的参考依据。

二、筹码峰指标计算方法1.计算累计换手率:累计换手率= 总成交量/ 发行总股本;2.计算价格区间筹码比例:价格区间筹码比例= 某一价格区间成交量/ 累计换手率;3.绘制筹码峰:在股票价格坐标轴上,以价格为横坐标,价格为纵坐标,绘制出各个价格区间的筹码比例,形成筹码峰图形。

三、筹码峰指标应用策略1.观察筹码峰集中度:筹码峰集中度越高,说明市场持股成本越集中,股价走势越稳定;筹码峰集中度较低,说明市场持股成本分散,股价走势可能波动较大。

2.寻找筹码峰突破点:当股价突破筹码峰上沿,表明市场持股成本普遍上升,股价有继续上涨的可能;当股价跌破筹码峰下沿,表明市场持股成本普遍下降,股价有继续下跌的可能。

3.观察筹码峰移动趋势:随着股价波动,筹码峰会发生变化。

观察筹码峰从低位向高位移动,说明市场持股成本整体上升,可关注潜力股;观察筹码峰从高位向低位移动,说明市场持股成本整体下降,需警惕风险。

四、实战案例分析1.案例一:某股票在上涨过程中,筹码峰逐渐向上移动,表明市场持股成本普遍上升,股价具备继续上涨的动力。

投资者可在筹码峰突破点介入,分享后续涨幅。

2.案例二:某股票在下跌过程中,筹码峰逐渐向下移动,表明市场持股成本普遍下降,股价可能继续下跌。

投资者应规避风险,及时止损。

五、总结与建议通达信筹码峰指标作为一种技术分析工具,在实际操作中需结合其他指标和市场环境综合判断。

投资者要学会正确解读筹码峰图形,并结合自身投资策略,把握市场节奏,降低投资风险。

通达信筹码动态指标公式

通达信筹码动态指标公式

通达信筹码动态指标公式HH:=IF(C<REF(C,1) AND H<REF(L,1),REF(L,1),H);LL:=IF(C>REF(C,1) AND L>REF(H,1),REF(H,1),L);穿越筹码:=(WINNER(HH)-WINNER(LL))*100,COLORBLUE;STICKLINE(1,穿越筹码/2,穿越筹码/2,2.5,0),COLORBLUE;STICKLINE(1,穿越筹码/2,穿越筹码/2,3.2,0),COLOR990000;STICKLINE(1,穿越筹码/2,-穿越筹码/2,2.5,0),COLORCC0000;STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.9,0),COLORFF4400;STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.4,0),COLORFF8800;STICKLINE(1,穿越筹码/2,-穿越筹码/2,0.4,0),COLORFFCC00;获利出货码:(PWINNER(1,LL)-WINNER(LL))*100,POINTDOT,COLOR000099;套牢割肉码:(WINNER(HH)-PWINNER(1,HH))*100,POINTDOT,COLORGREEN;STICKLINE(获利出货码>0,0,获利出货码,2.5,0),COLORRED;STICKLINE(获利出货码>0,0,获利出货码,2.8,0)COLOR000066;STICKLINE(获利出货码>0,0,获利出货码,2.3,0)COLOR000077;STICKLINE(获利出货码>0,0,获利出货码,1.7,0)COLOR000099;STICKLINE(获利出货码>0,0,获利出货码,1.2,0)COLOR0000CC;STICKLINE(获利出货码>0,0,获利出货码,0.1,0)COLORCC66FF;STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.5,0),COLORGREEN;STICKLINE(套牢割肉码>0,0,-套牢割肉码,3.2,0),COLOR007700;STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.8,0),COLOR009900;STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.1,0),COLOR00BB00;STICKLINE(套牢割肉码>0,0,-套牢割肉码,1.6,0),COLOR00DD00;STICKLINE(套牢割肉码>0,0,-套牢割肉码,0.4,0),COLOR00FF00;A:=90+(100-90)/2;B:=(100-90)/2;CC:=COST(A);DD:=COST(B);CMJZD:=(CC-DD)/(CC+DD)*100/2;筹码集中度:MA(CMJZD,3),COLORGRAY;筹码集中度升:IF(筹码集中度>=REF(筹码集中度,3),筹码集中度,DRAWNULL),COLORRED,LINETHICK2;筹码集中度降:IF(筹码集中度<REF(筹码集中度,3),筹码集中度,DRAWNULL),COLORFAABEC,LINETHICK2;比例变化:(筹码集中度-REF(筹码集中度,1))/REF(筹码集中度,1)*100,COLORYELLOW,LINETHICK2;拉高加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(C,20)>REF(MA(C,20),3),1,0),COLOR0095FF;拉高加仓1:STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.7,0),COLOR0095FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.1,0),COLOR0064FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,1.5,0),COLOR0093FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.9,0),COLOR00C2FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.3,0),COLOR00FFFF;下跌加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(C,20)<REF(MA(C,20),3),1,0),COLORFF0066;下跌加仓1:STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0033;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0066;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,1.5,0),COLORFF0099;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.9,0),COLORFF00CC;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.3,0),COLORFF00FF;底:0;线1:10,COLORLIBLUE,POINTDOT;线2:20,COLORFF00FF,POINTDOT;VAR02:=LLV(LOW,10);VAR03:=HHV(HIGH,25);支撑线:EMA((CLOSE-VAR02)/(VAR03-VAR02)*4,4),COLORBLUE;VAR01:=支撑线>REF(支撑线,1)AND 支撑线<1.5;MA3:=MA(C,3);VAR04:=HIGH>MA3*1.1;买进:FILTER(CROSS(C,MA3)AND VAR01,5),STICK,LINETHICK3,COLOR0099FF;DRAWICON(FILTER(CROSS(C,MA3)AND VAR01,5),10,35);卖出:FILTER(VAR04 AND 支撑线>3,10),STICK,LINETHICK3,COLORFFAA66;DRAWICON(FILTER(VAR04 AND 支撑线>3,10),1.5,36);VARF:=TROUGHBARS(3,15,1)<4;DRAWTEXT(FILTER(VARF=1,3),5,'庄影'),COLORYELLOW;。

通达信真实筹码主图指标公式

通达信真实筹码主图指标公式

通达信真实筹码主图指标公式{以色带表示筹码的密集度:蓝色表示短筹密集,青黄色表示大量筹码沉淀,此时要密切关注股价突破方向和成交量配合。

在上升趋势中,还能用来寻找起爆点哟,当出现筹码高度密集信号时,关注股价是否启涨出现数阴包前阳,或能量不济多为假突破突破密筹区需要巨量配合假突破是无法滤去的,因为很可能是庄家想拉,但发现阻力很大,转而变成震荡洗盘;或者大盘不配合,庄家选择弃庄(形成顶部)。

}W00:=COST(1);W10:=COST(10);W20:=COST(20);W30:=COST(30);W40:=COST(40);W50:=COST(50);W60:=COST(60);W70:=COST(70);W80:=COST(80);W90:=COST(90);W100:=COST(99);W5:=COST(5);W15:=COST(15);W25:=COST(25);W35:=COST(35);W45:=COST(45);W55:=COST(55);W65:=COST(65);W75:=COST(75);W85:=COST(85);W95:=COST(95);C5:=W5-W00;C10:=W10-W5;C15:=W15-W10;C20:=W20-W15;C25:=W25-W20;C30:=W30-W25;C35:=W35-W30;C40:=W40-W35;C45:=W45-W40;C50:=W50-W45;C55:=W55-W50;C60:=W60-W55;C65:=W65-W60;C70:=W70-W65;C75:=W75-W70;C80:=W80-W75;C85:=W85-W80;C90:=W90-W85;C95:=W95-W90;C100:=W100-W95;ZX:=MIN(C5,MIN(C10,MIN(C15,MIN(C20,MIN(C25,MIN(C30, MIN(C35,MIN(C40,MIN(C45,MIN(C50,MIN(C55,MIN(C60,MIN(C6 5,MIN(C70,MIN(C75,MIN(C80,MIN(C85,MIN(C90,MIN(C95,C100) ))))))))))))))))));STICKLINE(ZX=C5,W00,W5,5,0),COLORFF8800;STICKLINE(ZX=C10,W10,W5,5,0),COLORFF8800;STICKLINE(ZX=C15,W15,W10,5,0),COLORFF8800;STICKLINE(ZX=C20,W20,W15,5,0),COLORFF8800;STICKLINE(ZX=C25,W25,W20,5,0),COLORFF8800;STICKLINE(ZX=C30,W30,W25,5,0),COLORFF8800;STICKLINE(ZX=C35,W35,W30,5,0),COLORFF8800; STICKLINE(ZX=C40,W40,W35,5,0),COLORFF8800; STICKLINE(ZX=C45,W45,W40,5,0),COLORFF8800; STICKLINE(ZX=C50,W50,W45,5,0),COLORFF8800; STICKLINE(ZX=C55,W55,W50,5,0),COLORFF8800; STICKLINE(ZX=C60,W60,W55,5,0),COLORFF8800; STICKLINE(ZX=C65,W65,W60,5,0),COLORFF8800; STICKLINE(ZX=C70,W70,W65,5,0),COLORFF8800; STICKLINE(ZX=C75,W75,W70,5,0),COLORFF8800; STICKLINE(ZX=C80,W80,W75,5,0),COLORFF8800; STICKLINE(ZX=C85,W85,W70,5,0),COLORFF8800; STICKLINE(ZX=C90,W90,W85,5,0),COLORFF8800; STICKLINE(ZX=C95,W95,W90,5,0),COLORFF8800; STICKLINE(ZX=C100,W100,W95,5,0),COLORFF8800;筹宽:=W100-W00;J90:=W90-W60;J80:=W80-W50;J70:=W70-W40;J60:=W60-W30;J50:=W50-W20;J40:=W40-W10;J30:=W30-W00;STICKLINE(J90/筹宽<0.08,W90,W60,5,0),COLOR74D9A4; STICKLINE(J80/筹宽<0.08,W80,W50,5,0),COLOR74D9A4; STICKLINE(J70/筹宽<0.08,W70,W40,5,0),COLOR74D9A4; STICKLINE(J60/筹宽<0.08,W60,W30,5,0),COLOR74D9A4; STICKLINE(J50/筹宽<0.08,W50,W20,5,0),COLOR74D9A4; STICKLINE(J40/筹宽<0.08,W40,W10,5,0),COLOR74D9A4; JJ90:=W90-W70;JJ80:=W80-W60;JJ70:=W70-W50;JJ60:=W60-W40;JJ50:=W50-W30;JJ40:=W40-W20;JJ30:=W30-W10;STICKLINE(JJ90/筹宽<0.05,W90,W70,5,0),COLORFFFF00; STICKLINE(JJ80/筹宽<0.05,W80,W60,5,0),COLORFFFF00; STICKLINE(JJ70/筹宽<0.05,W70,W50,5,0),COLORFFFF00; STICKLINE(JJ60/筹宽<0.05,W60,W40,5,0),COLORFFFF00; STICKLINE(JJ50/筹宽<0.05,W50,W30,5,0),COLORFFFF00; STICKLINE(JJ40/筹宽<0.05,W40,W20,5,0),COLORFFFF00; STICKLINE(JJ30/筹宽<0.05,W30,W10,5,0),COLORFFFF00; {彩色K线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);TYX4:=MA((C+L+O+H)/4,13);TYX5:=EMA((C+L+O+H)/4,21);{空心红}STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED; STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED; {深绿}STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700; STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500; STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600; STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700; {蓝}STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44; STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700; STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22; STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44; {黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;{亮灰}STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999;STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555;STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777;STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;{涨跌停K线}STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORYELLOW;STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,1,0),COLORWHITE;{突破}STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,1,0),COLOR00CCFF;。

通达信突破王主图指标公式

通达信突破王主图指标公式

通达信突破王主图指标公式R1:=(C>REF(C,1)AND C>REF(C,2));R2:=(REF(R1,1)AND C<=REF(C,1)AND C>=REF(C,2));R3:=(REF(R2,1)AND C>=REF(C,1)AND C<=REF(C,2));R4:=(REF(R3,1)AND C<=REF(C,1)AND C>=REF(C,2));R5:=(REF(R4,1)AND C>=REF(C,1)AND C<=REF(C,2));R6:=(REF(R5,1)AND C<=REF(C,1)AND C>=REF(C,2));R7:=(REF(R6,1)AND C>=REF(C,1)AND C<=REF(C,2));R8:=(REF(R7,1)AND C<=REF(C,1)AND C>=REF(C,2));R9:=(REF(R8,1)AND C>=REF(C,1)AND C<=REF(C,2));A1:=(REF(R9,1)AND C<=REF(C,1)AND C>=REF(C,2));A2:=(REF(A1,1)AND C>=REF(C,1)AND C<=REF(C,2));A3:=(REF(A2,1)AND C<=REF(C,1)AND C>=REF(C,2));A4:=(C<REF(C,1)AND C<REF(C,2));A5:=(REF(A4,1)AND C>=REF(C,1)AND C<=REF(C,2));A6:=(REF(A5,1)AND C<=REF(C,1)AND C>=REF(C,2));A7:=(REF(A6,1)AND C>=REF(C,1)AND C<=REF(C,2));A8:=(REF(A7,1)AND C<=REF(C,1)AND C>=REF(C,2));A9:=(REF(A8,1)AND C>=REF(C,1)AND C<=REF(C,2));B1:=(REF(A9,1)AND C<=REF(C,1)AND C>=REF(C,2));B2:=(REF(B1,1)AND C>=REF(C,1)AND C<=REF(C,2));B3:=(REF(B2,1)AND C<=REF(C,1)AND C>=REF(C,2));B4:=(REF(B3,1)AND C>=REF(C,1)AND C<=REF(C,2));B5:=(REF(B4,1)AND C<=REF(C,1)AND C>=REF(C,2));B6:=(REF(B5,1)AND C>=REF(C,1)AND C<=REF(C,2));B7:=REF(A4 OR A5 OR A6 OR A7 OR A8 OR A9 OR B1 OR B2 OR B3 OR B4 OR B5 OR B6,1)AND R1;B8:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR A1 OR A2 OR A3,1))AND A4);T1:=HHV(C,4);T2:=REF(C,1);T3:=REF(C,2);T4:=REF(C,3);T5:=LLV(C,4);stICKLINE(C>=OPEN,C,OPEN,3.2,0),COLOR0000AA;STICKLINE(C>=OPEN,C,OPEN,2.2,0),COLOR0000CC;STICKLINE(C>=OPEN,C,OPEN,1.0,0),COLOR0000EE;STICKLINE(C>=OPEN,C,OPEN,0.1,0),COLORAA55FF;STICKLINE(OPEN>=C,C,OPEN,3.2,0),COLOR009900;STICKLINE(OPEN>=C,C,OPEN,1.5,0),COLOR00BB00;STICKLINE(OPEN>=C,C,OPEN,0.6,0),COLOR00DD00;STICKLINE(OPEN>=C,C,OPEN,0.1,0),COLOR00FF00;Q:=C=T5 AND(T2<T3 OR T2<T4)OR T2=T5 AND C<T3 OR T3=T5 AND T2!=T1 AND C<T2 OR T4=T5 AND C<T2 AND C<T3;W:=O+C;STICKLINE(Q,C,W/2,3.1,0),COLOR999999;STICKLINE(Q,C,W/2,2,0),COLORBBBBBB;STICKLINE(Q,C,W/2,1,0),COLORDDDDDD;STICKLINE(Q,C,W/2,0.1,0),COLORFFFFFF;S:=T2=T5 AND C>=T3 OR T3=T5 AND T2<=T4 AND T3<REF(C,4)AND C>=T2;STICKLINE(S,O,W/2,3.1,0),COLOR999900;STICKLINE(S,O,W/2,2,0),COLORBBBB00;STICKLINE(S,O,W/2,1,0),COLORDDDD00;STICKLINE(S,O,W/2,0.1,0),COLORFFFF00;STICKLINE(B7,REF(C,1),REF(C,2),3.2,0),COLOR335555;STICKLINE(B7,REF(C,1),REF(C,2),2.5,0),COLOR338888;STICKLINE(B7,REF(C,1),REF(C,2),1.5,0),COLOR33AAAA;STICKLINE(B7,REF(C,1),REF(C,2),0.8,0),COLOR33CCCC;STICKLINE(B7,REF(C,1),REF(C,2),0.1,0),COLOR33EEEE;STICKLINE(B8,REF(C,1),REF(C,2),3.0,0),COLORAA0000;STICKLINE(B8,REF(C,1),REF(C,2),2.0,0),COLORCC0000;STICKLINE(B8,REF(C,1),REF(C,2),1.1,0),COLORFF4400;STICKLINE(B8,REF(C,1),REF(C,2),0.2,0),COLORFF8800;STICKLINE(B8,REF(C,1),REF(C,2),0.0,0),COLORFFCC00;四:=SUMBARS(vol,CAPITAL/4),NODRAW;二:=SUMBARS(VOL,CAPITAL/2),NODRAW;ZJ:=ma(C,二){中期成本均线};XJ:=MA(C,四){近期成本均线};T:=C>XJ;P:=XJ>ZJ;Z:=ZJ>Q;I:=MAX(O,C);STICKLINE(T AND P AND Z,I,W/2,3.1,0),COLOR880088;STICKLINE(T AND P AND Z,I,W/2,2,0),COLORBB00BB;STICKLINE(T AND P AND Z,I,W/2,1,0),COLORDD00DD;STICKLINE(T AND P AND Z,I,W/2,0.1,0),COLORFF00FF;STICKLINE(C=C,O+((C-O)/2),(O+(C-O)/2),3,0),COLOR00FFFF;{当日实体幅度的1/2}AA1:=EMA(C,5);AA2:=EMA(C,10);突破:REF(AA2,1),COLORMAGENTA,DOTLINE;AA3:=AA1-突破;AA4:=((AA3)/突破*100);A:=IF(AA4>=0,REF(AA2,BArslAST(crOSS(AA4,0))+1),DRAWN ULL);B:=IF(AA4<0,REF(AA2,BARSLAST(CROSS(0,AA4))+1),DRAW NULL);STICKLINE(A,A,A,4,-1)COLORMAGENTA;STICKLINE(B,B,B,4,-1)COLORGREEN;STICKLINE(AA4>=0,A,突破,0,-1)COLORMAGENTA;STICKLINE(AA4<0,B,突破,0,-1)COLORGREEN;持币:=IF(AA4<0,突破,DRAWNULL)COLORFFCC00,DOTLINE;DRAWTEXT(ISLASTBAR AND A,A-0.1,'出击'),COLORMAGENTA;DRAWTEXT(ISLASTBAR AND B,B+0.15,'休假'),COLORGREEN;顶:HHV(H,60),COLORFF00FF,DOTLINE;底:LLV(L,60),COLORWHITE,DOTLINE;MA5:MA(C,5)COLORWHITE;MA18:MA(C,18)COLOR0080FF;MA21:MA(C,21)COLORYELLOW;MA35:MA(C,35)COLOR00FF00;MA60:MA(C,35)COLORRED;盈损线:MA(MA5,1),LINETHICK2,COLOR00FF00;IF(盈损线>=REF(盈损线,1),盈损线,DRAWNULL),COLORRED,LINETHICK2;DRAWTEXT((MA18>=REF(MA18,3)AND CROSS(C,MA18)),L-0.05,'↖跟'),COLORRED;获利%:WINNER(C)*100,NODRAW,COLORFF00FF;{涨跌停提示}XX:=REF(C,1);ZDF:=(C-XX)/XX*100;DRAWTEXT(C>=1.099*XX,C*1.01,'↙涨停'),COLORYELLOW;DRAWTEXT(ZDF<-9.9,C*1.01,'↖跌停'),COLOR00FF00;DRAWTEXT_FIX(1,0.0,0.0,0,'蓝柱-高位出货坚决'),COLOR0080FF,LINETHICK1;DRAWTEXT_FIX(1,0.00,0.06,0,'白柱-主力洗盘'),COLORWHITE,LINETHICK1;DRAWTEXT_FIX(1,0.00,0.12,0,'绿柱-主力深度洗盘'),COLORGREEN,LINETHICK1;DRAWTEXT_FIX(1,0.00,0.18,0,'粉柱-主力在做高抛低吸或低吸高抛'),COLORFF00FF,LINETHICK1;DRAWTEXT_FIX(1,0.00,0.24,0,'红柱-主力吸筹进货积极主动'),COLORRED,LINETHICK1;。

通达信筹码峰指标设置

通达信筹码峰指标设置

通达信筹码峰指标设置通达信筹码峰指标是一种常用的技术分析指标,用于帮助投资者判断市场的资金流向和筹码分布情况。

本文将详细介绍通达信筹码峰指标的原理和应用。

筹码峰指标是根据成交量和股价的关系来判断市场的买卖力量的强弱。

它通过计算每个交易日的成交量和股价之间的比值,来反映市场的资金流入和流出情况。

当成交量高于平均水平时,意味着市场上有更多的资金流入,筹码开始聚集;而当成交量低于平均水平时,意味着市场上有更多的资金流出,筹码开始分散。

通达信筹码峰指标的计算公式如下:筹码峰=(当日收盘价-当日最低价)/(当日最高价-当日最低价)*(当日成交量/成交量均值)其中,成交量均值是指过去一段时间内的平均成交量。

通常情况下,可以选取5日、10日或20日的成交量均值作为参考。

筹码峰指标的取值范围在0到1之间,数值越大表示筹码越集中,市场的买卖力量越强;数值越小表示筹码越分散,市场的买卖力量越弱。

通过筹码峰指标,投资者可以判断市场的短期走势和趋势转折点。

当筹码峰指标处于较高水平时,意味着市场上的多头力量较强,可能会出现一波上涨行情;而当筹码峰指标处于较低水平时,意味着市场上的空头力量较强,可能会出现一波下跌行情。

筹码峰指标还可以结合其他技术指标一起使用,来提高判断的准确性。

例如,可以结合均线指标来确认市场的趋势方向;可以结合相对强弱指标来判断个股的买卖力量。

在使用筹码峰指标时,投资者需要注意以下几点。

首先,筹码峰指标是一种辅助工具,不能单独作为买卖的依据,需要结合其他指标和技术分析一起使用。

其次,筹码峰指标的计算结果会有一定的滞后性,不能过于追求短期的交易机会。

最后,筹码峰指标在不同的市场环境下表现可能会有所不同,投资者需要根据实际情况进行调整和判断。

总结起来,通达信筹码峰指标是一种常用的技术分析指标,通过计算成交量和股价之间的关系来判断市场的买卖力量。

投资者可以利用筹码峰指标来判断市场的短期走势和趋势转折点,但需要注意结合其他指标和技术分析一起使用,并且考虑市场环境的变化。

通达信筹码分布表现在主图中的公式

通达信筹码分布表现在主图中的公式

通达信筹码分布表现在主图中的公式以下是通达信筹码分布表现在主图中的公式(无源码的请下载附件导入)通达信筹码分布表现在主图中的公式源码CM1:=INTPART(PPART(1)*100);CM2:=INTPART(PPART(2)*100);CM3:=INTPART(PPART(3)*100);CM4:=INTPART(PPART(4)*100);CM5:=INTPART(PPART(5)*100);CM6:=INTPART(PPART(6)*100);CM7:=INTPART(PPART(7)*100);CM8:=INTPART(PPART(8)*100);CM9:=INTPART(PPART(9)*100);CM10:=INTPART(PPART(10)*100);CM11:=INTPART(PPART(11)*100);CM12:=INTPART(PPART(12)*100);CM13:=INTPART(PPART(13)*100);CM14:=INTPART(PPART(14)*100);CM15:=INTPART(PPART(15)*100);CM16:=INTPART(PPART(16)*100);CM17:=INTPART(PPART(17)*100);CM18:=INTPART(PPART(18)*100);CM19:=INTPART(PPART(19)*100);CM20:=INTPART(PPART(20)*100);CM21:=INTPART(PPART(21)*100);CM22:=INTPART(PPART(22)*100);CM23:=INTPART(PPART(23)*100);CM24:=INTPART(PPART(24)*100);CM26:=INTPART(PPART(26)*100); CM27:=INTPART(PPART(27)*100); CM28:=INTPART(PPART(28)*100); CM29:=INTPART(PPART(29)*100); CM30:=INTPART(PPART(30)*100); CM31:=INTPART(PPART(31)*100); CM32:=INTPART(PPART(32)*100); CM33:=INTPART(PPART(33)*100); CM34:=INTPART(PPART(34)*100); CM35:=INTPART(PPART(35)*100); CM36:=INTPART(PPART(36)*100); CM37:=INTPART(PPART(37)*100); CM38:=INTPART(PPART(38)*100); CM39:=INTPART(PPART(39)*100); CM40:=INTPART(PPART(30)*100); CM41:=INTPART(PPART(41)*100); CM42:=INTPART(PPART(42)*100); CM43:=INTPART(PPART(43)*100); CM44:=INTPART(PPART(44)*100); CM45:=INTPART(PPART(45)*100); CM46:=INTPART(PPART(46)*100); CM47:=INTPART(PPART(47)*100); CM48:=INTPART(PPART(48)*100); CM49:=INTPART(PPART(49)*100); CM50:=INTPART(PPART(50)*100); CM51:=INTPART(PPART(51)*100); CM52:=INTPART(PPART(52)*100); CM53:=INTPART(PPART(53)*100); CM54:=INTPART(PPART(54)*100);CM56:=INTPART(PPART(56)*100);CM57:=INTPART(PPART(57)*100);CM58:=INTPART(PPART(58)*100);CM59:=INTPART(PPART(59)*100);CM60:=INTPART(PPART(60)*100);IF(CURRBARSCOUNT<INTPART(CM2/2),CONST(COSTEX(REF (C,1),REF(C,2))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM3/2),CONST(COSTEX(REF (C,2),REF(C,3))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM4/2),CONST(COSTEX(REF (C,3),REF(C,4))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM5/2),CONST(COSTEX(REF (C,4),REF(C,5))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM6/2),CONST(COSTEX(REF (C,5),REF(C,6))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM7/2),CONST(COSTEX(REF (C,6),REF(C,7))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM8/2),CONST(COSTEX(REF (C,8),REF(C,9))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM9/2),CONST(COSTEX(REF (C,9),REF(C,10))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM10/2),CONST(COSTEX(RE F(C,10),REF(C,11))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM11/2),CONST(COSTEX(RE F(C,11),REF(C,12))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM12/2),CONST(COSTEX(RE F(C,12),REF(C,13))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM13/2),CONST(COSTEX(RE F(C,13),REF(C,14))),DRAWNULL),COLORBLUE;F(C,14),REF(C,15))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM15/2),CONST(COSTEX(RE F(C,15),REF(C,16))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM16/2),CONST(COSTEX(RE F(C,16),REF(C,17))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM17/2),CONST(COSTEX(RE F(C,17),REF(C,18))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM18/2),CONST(COSTEX(RE F(C,18),REF(C,19))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM19/2),CONST(COSTEX(RE F(C,19),REF(C,20))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM20/2),CONST(COSTEX(RE F(C,20),REF(C,21))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM21/2),CONST(COSTEX(RE F(C,21),REF(C,22))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM22/2),CONST(COSTEX(RE F(C,22),REF(C,23))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM23/2),CONST(COSTEX(RE F(C,23),REF(C,24))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM24/2),CONST(COSTEX(RE F(C,24),REF(C,25))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM25/2),CONST(COSTEX(RE F(C,25),REF(C,26))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM26/2),CONST(COSTEX(RE F(C,26),REF(C,27))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM27/2),CONST(COSTEX(RE F(C,27),REF(C,28))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM28/2),CONST(COSTEX(RE F(C,28),REF(C,29))),DRAWNULL),COLORBLUE;F(C,29),REF(C,30))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM30/2),CONST(COSTEX(RE F(C,30),REF(C,31))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM31/2),CONST(COSTEX(RE F(C,31),REF(C,32))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM32/2),CONST(COSTEX(RE F(C,32),REF(C,33))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM33/2),CONST(COSTEX(RE F(C,33),REF(C,34))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM34/2),CONST(COSTEX(RE F(C,34),REF(C,35))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM35/2),CONST(COSTEX(RE F(C,35),REF(C,36))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM36/2),CONST(COSTEX(RE F(C,36),REF(C,37))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM37/2),CONST(COSTEX(RE F(C,37),REF(C,38))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM38/2),CONST(COSTEX(RE F(C,38),REF(C,39))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM39/2),CONST(COSTEX(RE F(C,39),REF(C,40))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM40/2),CONST(COSTEX(RE F(C,40),REF(C,41))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM41/2),CONST(COSTEX(RE F(C,41),REF(C,42))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM42/2),CONST(COSTEX(RE F(C,42),REF(C,43))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM43/2),CONST(COSTEX(RE F(C,43),REF(C,44))),DRAWNULL),COLORBLUE;F(C,44),REF(C,45))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM45/2),CONST(COSTEX(RE F(C,45),REF(C,46))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM46/2),CONST(COSTEX(RE F(C,46),REF(C,47))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM47/2),CONST(COSTEX(RE F(C,47),REF(C,48))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM48/2),CONST(COSTEX(RE F(C,48),REF(C,49))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM49/2),CONST(COSTEX(RE F(C,49),REF(C,50))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM50/2),CONST(COSTEX(RE F(C,50),REF(C,51))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM51/2),CONST(COSTEX(RE F(C,51),REF(C,52))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM52/2),CONST(COSTEX(RE F(C,52),REF(C,53))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM53/2),CONST(COSTEX(RE F(C,53),REF(C,54))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM54/2),CONST(COSTEX(RE F(C,54),REF(C,55))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM55/2),CONST(COSTEX(RE F(C,55),REF(C,56))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM56/2),CONST(COSTEX(RE F(C,56),REF(C,57))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM57/2),CONST(COSTEX(RE F(C,57),REF(C,58))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM58/2),CONST(COSTEX(RE F(C,58),REF(C,59))),DRAWNULL),COLORBLUE;F(C,59),REF(C,60))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM60/2),CONST(COSTEX(RE F(C,60),REF(C,61))),DRAWNULL),COLORBLUE;IF(CURRBARSCOUNT<INTPART(CM1/2),CONST(C),DRAWNU LL),COLORRED;DRAWKLINE(H,O,L,C);。

筹码主图公式通达信指标公式源码

筹码主图公式通达信指标公式源码

筹码主图公式TS:=130;N:=99;M:=3;MT:=3;M1:=5;M2:=7;M3:=21;M4:=12;M5:=50;DA1:=IF(TS>TOTALBARSCOUNT,TOTALBARSCOUNT,TS);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);GZ:=EXP(LN(HI/LO)/10);LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA); LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA); LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA); LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA); LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA); LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA); LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;L4:=REFDATE(HHV(LH4,DA),DATE);L5:=REFDATE(HHV(LH5,DA),DATE);L6:=REFDATE(HHV(LH6,DA),DATE);L7:=REFDATE(HHV(LH7,DA),DATE);L8:=REFDATE(HHV(LH8,DA),DATE);L9:=REFDATE(HHV(LH9,DA),DATE);L10:=REFDATE(HHV(LH10,DA),DATE);SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*N/100,(HI/GZ),1, 1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*N/10 0,HI/POW(GZ,2),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*N/10 0,HI/POW(GZ,3),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*N/100,HI/POW(GZ,4),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*N/10 0,HI/POW(GZ,5),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*N/10 0,HI/POW(GZ,6),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*N/10 0,HI/POW(GZ,7),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*P OW(GZ,3)*N/100,1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*P OW(GZ,2)*N/100,1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)* N/100,1,1)COLOR656566,LINETHICK1;DRAWKLINE(H,O,L,C);JJ:=(CLOSE+HIGH+LOW)/3;{BS标志}DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,7);DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.02,8);VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,C,O,1,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,H,L,0,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR2,C,O,3,0),COLORFF0FF0,LINETHICK2;STICKLINE(VAR2,C,O,2,0),COLORFF0FF0,LINETHICK2;STICKLINE(VAR2,H,L,1,0),COLORFF0FF0,LINETHICK2;DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CL OSE,20)),HIGH*1.06,'-落袋为安'),COLORYELLOW;EXP7:EXPMA(CLOSE,M2),COLORWHITE,LINETHICK1;今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW;高区:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,DOTLINE;低区:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,DOTLI NE;STICKLINE(CCI>=200 AND H>=高区,O,C,3,0),COLORBLUE;STICKLINE(CCI<=100 AND L<=低区,O,C,3,0),COLORYELLOW;。

通达信主力筹码突破指标源码

通达信主力筹码突破指标源码

公式源码:{主力筹码突破}公式描述: 主力筹码突破ZLCMTP}主筹估算:EMA(WINNER(CLOSE)*70,3),COLORRED,LINETHICK2;散筹估算:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3),COLORGREEN; 筹码锁定:散筹估算-主筹估算,COLORFFBB00;STICKLINE(筹码锁定>0,筹码锁定,散筹估算,1,0),COLOR99FF00;STICKLINE(筹码锁定<=0,0,散筹估算,2,0),COLOR99FF00;STICKLINE(筹码锁定>0,0,筹码锁定,2,0),COLORFFBB00;STICKLINE(筹码锁定<0,0,筹码锁定,1,0),COLORFFBB00;DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,4);DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,8);涨:CROSS(主筹估算,筹码锁定),COLORWHITE;强:CROSS(主筹估算,散筹估算),COLORYELLOW;STICKLINE(涨,0,筹码锁定,2,0),COLORYELLOW;STICKLINE(强,0,散筹估算,2,0),COLORWHITE;VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;VAR3:=SMA(VAR2,13,8);VAR4:=CEILING(SMA(VAR3,13,8));VAR5:=SMA(VAR1,21,8);VAR6:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)), 7,1)*100;VAR7:=VAR4-VAR5<(-65) AND VAR6<12;VAR8:=SUM(MA(CLOSE,10),9)/10.11;VAR9:=CROSS(CLOSE,VAR8);VAR10:=MA(LOW,2)*0.96;VAR11:=MA(LOW,26)*0.85;VAR12:=REF(VAR10,1)<VAR11 AND REF(VAR10,1)<VAR10 ANDREF(VAR10,1)<REF(VAR10,2);VAR13:=VAR7 OR VAR9 OR VAR12;VAR14:=EMA(IF(VAR13,SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LO W,1),0),30,1),0),3)*10;VAR15:=IF(VAR14>REF(VAR14,1),VAR14,DRAWNULL);动态底部:EMA(IF(LOW<=LLV(LOW,99),SMA(ABS(LOW-REF(LOW,1)),99,1)/SMA(MAX(LOW-REF(LOW,1),0),99,1),0)*5,3),NODRAW,COLORMAGENTA;STICKLINE(动态底部>0,0,动态底部,5,0),COLORMAGENTA;VAR16:=SMA(AMOUNT,10,1)/10000000;VAR17:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;VAR18:=SUM(IF(CLOSE>REF(CLOSE,1),VAR16*VAR17,0),12);VAR19:=SUM(IF(CLOSE<=REF(CLOSE,1),VAR16*VAR17,0),12);VAR20:=SMA(VAR18,3,1)-SMA(VAR19,3,1)*(-1);VAR21:=SMA(VAR20,3,1);VAR22:=(EMA(CLOSE,30)-EMA(CLOSE,34))/EMA(CLOSE,34)*100;VAR23:=(EMA(CLOSE,34)-EMA(CLOSE,30))/EMA(CLOSE,30)*100;VAR24:=VAR22-VAR23;VAR25:=MA(VAR24,3);STICKLINE(VAR24>VAR25,(-1),1,10,0),COLORGREEN;STICKLINE(VAR20>VAR21 AND VAR20<0,(-1),1,18,0),COLORBLUE;STICKLINE(VAR20<VAR21,(-1),1,18,0),COLORFFFFE9;STICKLINE(VAR24<VAR25,(-1),1,10,0),COLORRED;DRAWTEXT(BARSTATUS=2,(-2),24),COLORWHITE;NOTEXT20:主筹估算,COLORRED,LINETHICK2;VAR26:=EMA(WINNER(CLOSE)*70,5);VAR27:=EMA(VAR26,89);牛熊线:VAR27,COLORMAGENTA,LINETHICK2;DRAWTEXT_FIX(C>O,0.01,0.9,0,'1'),COLORRED;IF(CLOSE>REF(CLOSE,1),VAR27,DRAWNULL),COLORMAGENTA,LINETHICK2; VAR28:=IF(CLOSE>=OPEN,HIGH,0);VAR29:=IF(CLOSE<=OPEN,REF(HIGH,1),VAR28);VAR30:=IF(CLOSE>=OPEN,VOL,0);VAR31:=IF(CLOSE<=OPEN,REF(VOL,1),VAR30);VAR32:=COUNT(VAR29>REF(VAR29,1) AND VAR31<REF(VAR31,1),3)>=2 AND CLOSE>OPEN;量价背离:VAR32*30,STICK,COLORRED,LINETHICK2;。

通达信L筹码A主图指标公式源码编程思路破译及成功率回测数据

通达信L筹码A主图指标公式源码编程思路破译及成功率回测数据

通达信L筹码A主图指标公式源码编程思路破译及成功率回测数据编程思路破译MM赋值:0.1输出筹码顶:日期日获利盘为99.999%的成本分布的最后一日取值设为常数,DOTLINE,画洋红色,线宽为2输出筹码底:日期日获利盘为0.001%的成本分布的最后一日取值设为常数,DOTLINE,画青色,线宽为2W50赋值:((筹码顶-筹码底)/2)+筹码底,DOTLINE,画黄色,线宽为1W赋值:(筹码顶-筹码底)/10W60赋值:(W*6)+筹码底,DOTLINE,画黄色,线宽为1W90赋值:(W*9)+筹码底,DOTLINE,画黄色,线宽为1W100赋值:筹码顶,DOTLINE,画黄色,线宽为1W110赋值:(W*11)+筹码底,DOTLINE,画黄色,线宽为1W80赋值:(W*8)+筹码底,DOTLINE,画黄色,线宽为1W70赋值:(W*7)+筹码底,DOTLINE,画黄色,线宽为1W30赋值:(W*3)+筹码底,DOTLINE,画黄色,线宽为1W40赋值:(W*4)+筹码底,DOTLINE,画黄色,线宽为1W20赋值:(W*2)+筹码底,DOTLINE,画黄色,线宽为1W10赋值:(W*1)+筹码底,DOTLINE,画黄色,线宽为1WA10赋值:(W*-1)+筹码底,DOTLINE,画黄色,线宽为1W00赋值:筹码底,DOTLINE,画黄色,线宽为1当满足条件到最后交易的周期=1时,在W90*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在W100*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在W70*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在W50*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在W30*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在W10*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在W00*0.998位置书写文字,画白色当满足条件到最后交易的周期=1时,在WA10*0.998位置书写文字,画白色VAR2赋值:5VAR3赋值:3VAR4赋值:(收盘价的5日指数移动平均*7+收盘价的10日指数移动平均*3)/10VAR5赋值:如果年份>=2025,返回0,否则返回1VAR6赋值:最低价的21日指数移动平均+6.8*最低价的2日估算标准差的55日指数移动平均VAR7赋值:收盘价/VAR6*(1.88*收盘价+最低价+开盘价)/2.75的3日指数移动平均VAR8赋值:(VAR7-VAR6)/VAR6/2VAR9赋值:VAR7-VAR8*VAR7的5日指数移动平均*VAR5VAR10赋值:收盘价的300日指数移动平均-3*收盘价的300日估算标准差输出漏斗下:如果VAR4>VAR9,返回VAR4,否则返回VAR9*VAR5,画黄色,线宽为2输出漏斗上:如果VAR9<VAR4ANDVAR9<收盘价*0.15,返回收盘价的300日指数移动平均-3*收盘价的300日估算标准差,否则返回VAR9,画黄色,线宽为2输出漏:如果VAR9>VAR4,返回漏斗上,否则返回无效数,画绿色,线宽为2开口XG赋值:条件连续成立次数=1,NODRAW输出生命线:如果到最后交易的周期<13,返回获利盘为67.5%的成本分布的最后一日取值设为常数,否则返回无效数,画白色,DOTLINE 漏斗赋值:漏斗下AAA赋值:最高价上穿漏斗下ZC赋值:统计6日中满足AAA的天数>=1PP赋值:最高价>=漏斗PPB赋值:收盘价<=漏斗PPA赋值:1日前的PP生命赋值:生命线BAAA赋值:190日内最高价的最高值的最后一日取值设为常数TS1赋值:0+0.01TS2赋值:TS1+0.03TS3赋值:TS2+0.07TS4赋值:TS3+0.08当满足条件到最后交易的周期=100时,在BAAA-(BAAA*TS2)位置书写文字,画黄色当满足条件到最后交易的周期=100时,在BAAA-(BAAA*TS3)位置书写文字,画黄色当满足条件到最后交易的周期=100时,在BAAA-(BAAA*TS4)位置书写文字,画黄色程序源码:MM:=0.1;筹码顶:REFDATE(CONST(COST(99.999)),DATE),DOTLINE,COLORMAGE NTA,LINETHICK2;筹码底:REFDATE(CONST(COST(0.001)),DATE),DOTLINE,COLORCYAN,LI NETHICK2;{DD:=筹码底;SD:=(C-DD)/2;SC:DD+SD,DOTLINE,COLORRED,LINETHICK1;}W50:=((筹码顶-筹码底)/2)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W:=(筹码顶-筹码底)/10;W60:=(W*6)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W90:=(W*9)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W100:=筹码顶,DOTLINE,COLORYELLOW,LINETHICK1;W110:=(W*11)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W80:=(W*8)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W70:=(W*7)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W30:=(W*3)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W40:=(W*4)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W20:=(W*2)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W10:=(W*1)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;WA10:=(W*-1)+筹码底,DOTLINE,COLORYELLOW,LINETHICK1;W00:=筹码底,DOTLINE,COLORYELLOW,LINETHICK1;DRAWTEXT(CURRBARSCOUNT=1,W90*0.998,'90'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=1,W100*0.998,'100'),COLORWHITE;{DRAWTEXT(CURRBARSCOUNT=1,W110*0.998,'110'),COLORWHITE;}{DRAWTEXT(CURRBARSCOUNT=1,W80*0.998,'80'),COLORWHITE;}DRAWTEXT(CURRBARSCOUNT=1,W70*0.998,'70'),COLORWHITE;{DRAWTEXT(CURRBARSCOUNT=1,W60*0.998,'60'),COLORWHITE;}DRAWTEXT(CURRBARSCOUNT=1,W50*0.998,'50'),COLORWHITE;{DRAWTEXT(CURRBARSCOUNT=1,W40*0.998,'40'),COLORWHITE;}DRAWTEXT(CURRBARSCOUNT=1,W30*0.998,'30'),COLORWHITE;{DRAWTEXT(CURRBARSCOUNT=1,W20*0.998,'20'),COLORWHITE;}DRAWTEXT(CURRBARSCOUNT=1,W10*0.998,'10'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=1,W00*0.998,'0'),COLORWHITE;DRAWTEXT(CURRBARSCOUNT=1,WA10*0.998,'-10'),COLORWHITE;VAR2:=5;VAR3:=3;VAR4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;VAR5:=IF(YEAR>=2025,0,1);VAR6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);VAR7:=EMA(CLOSE/VAR6*(1.88*CLOSE+LOW+OPEN)/2.75,3 );VAR8:=(VAR7-VAR6)/VAR6/2;VAR9:=EMA(VAR7-VAR8*VAR7,5)*VAR5;VAR10:=EMA(CLOSE,300)-3*STD(CLOSE,300);漏斗下:IF(VAR4>VAR9,VAR4,VAR9)*VAR5,COLORYELLOW,LINETHICK2;漏斗上:IF(VAR9<VAR4 AND VAR9<CLOSE*0.15,EMA(CLOSE,300)-3*STD(CLOSE,300),VAR9),COLORYELLOW,LINETHICK2;漏:IF(VAR9>VAR4,漏斗上,DRAWNULL),COLORGREEN,LINETHICK2;开口XG:=BARSLASTCOUNT(漏斗下!=漏斗上)=1,NODRAW;{筹码平均成本线}生命线:IF(CURRBARSCOUNT<13,CONST(COST(67.5)),DRAWNULL),C OLORWHITE,DOTLINE;{DRAWTEXT(CURRBARSCOUNT=1,生命线*0.998,' 生命线'),COLORWHITE;}漏斗:=漏斗下;AAA:=CROSS(H,漏斗下);ZC:=COUNT(AAA,6)>=1;PP:=H>=漏斗;PPB:=C<=漏斗;PPA:=REF(PP,1);生命:=生命线;{ASR:(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,NODRAW;} {ASRD:=-((WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100);分:=CONST(LLV(ASRD,90));百:=CONST(HHV(ASRD,90))-分;基点:=CONST(LLV(L,90));基:=CONST(HHV(H,90))-基点;CC比:=(ASRD-分)/百;XCX:=CC比*基+基点;ASRR:XCX,LINETHICK1,COLORWHITE;}{DRAWICON(ASRR<REF(ASRR,1) AND REF(ASRR,1)>REF(ASRR,2) AND ASRR>C AND C>REF(C,1),ASRR+1,2);}{IF(ASRR>REF(ASRR,1) AND C>REF(C,1),ASRR,DRAWNULL),LINETHICK1,COLORRED;};BAAA:=CONST(HHV(H,190));TS1:=0+0.01;TS2:=TS1+0.03;TS3:=TS2+0.07;TS4:=TS3+0.08;{DRAWTEXT(CURRBARSCOUNT=60,BAAA-(BAAA*TS1),'<一>.写上自己需要的文字'),COLORFF00FF ;}DRAWTEXT(CURRBARSCOUNT=100,BAAA-(BAAA*TS2),' 1.紫线为筹码顶, 蓝线为筹码低, 右则为筹码空间比例.80以上为高位,谨慎操作,小心被套'),COLORYELLOW ;DRAWTEXT(CURRBARSCOUNT=100,BAAA-(BAAA*TS3),' 2.绿线为区域顶, 绿变黄,并成两条黄线, 则为妖.当天股价超过绿线,但绿线未变黄则逢高减仓。

通达信筹码分布主图源码指标公式

通达信筹码分布主图源码指标公式

通达信筹码分布主图源码指标公式股票公式不明白请查阅:股票公式文件使用以及说明!{宝塔线}VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),8,0),COLOR0000AA;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),6,0),COLOR0000CC;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),4,0),COLOR0000DD;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2,0),COLOR0000FF;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0,0),COLORYELLOW;{红1}VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),8,0),COLOR998855;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),6,0),COLORBBAA77;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),4,0),COLORDDCC99;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2,0),COLORFFEEBB;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0,0),COLORCYAN;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00 FFFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00 C8FF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10 ECFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10 FFFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10 F0FF;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00 D900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR93 FFD1;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR93 FF22;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR24 FF22;{● 筹码分布主图指标底线:COST(30),COLOR00FF00, LINETHICK2;拉升线:COST(70),COLORFF00FF,LINETHICK2;逃顶线:=COST(90);风险线:=HHV(COST(90),20);VV:=HHV(COST(90),10);XX:=LLV(COST(70),20);市场重心:(HHV(H,0)+LLV(L,0))/2,COLORYELLOW,LINETHICK2; 套牢筹码:STICKLINE(逃顶线<VV,逃顶线,VV,8,0),COLORFFFF00;。

通达信筹码峰分布主图指标公式

通达信筹码峰分布主图指标公式

通达信筹码峰分布主图指标公式Z1:=stRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,FGBLOCK);Z3:=STRCAT(Z2,DYBLOCK);Z4:=STRCAT(Z3,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z4,GNBLOCK)),CO LORCYAN;DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,EXTERNSTR(0,12)),COLO RLIGREEN;{老王}DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,EXTERNSTR(0,3)),COLO RWHITE;DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,EXTERNSTR(0,6)),COLO RLIBLUE;X_1:=ma(CLOSE,4);X_2:=MA(CLOSE,13);X_3:=MA(CLOSE,24);X_4:=MA(CLOSE,30);X_5:=MA(CLOSE,120);AA:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);济安线:=DMA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORMA GENTA;X_6:=X_2>X_3 AND X_3>X_4 AND X_4>X_5 AND X_2>REF(X_2,1) AND X_3>REF(X_3,1) AND X_4>REF(X_4,1) AND X_5>=REF(X_5,1);X_7:=ATAN((MA(CLOSE,13)/REF(MA(CLOSE,13),1)-1)*100)*57.299999;X_8:=120;X_9:=MA(CLOSE,X_8);X_10:=POW(CLOSE-X_9,2);X_11:=MA(X_10,X_8);X_12:=SQRT(X_11);X_13:=X_9+2*X_12;X_14:=X_9-2*X_12;筹码线:REF(X_13,1),COLORYELLOW,LINETHICK2;趋势线:MA(CLOSE,24),COLORRED,LINETHICK2;X_15:=(3*CLOSE+OPEN+LOW+HIGH)/6;X_16:=(20*X_15+19*REF(X_15,1)+18*REF(X_15,2)+17*REF(X_ 15,3)+16*REF(X_15,4)+15*REF(X_15,5)+14*REF(X_15,6)+13*REF( X_15,7)+12*REF(X_15,8)+11*REF(X_15,9)+10*REF(X_15,10)+9*RE F(X_15,11)+8*REF(X_15,12)+7*REF(X_15,13)+6*REF(X_15,14)+5* REF(X_15,15)+4*REF(X_15,16)+3*REF(X_15,17)+2*REF(X_15,18)+ REF(X_15,20))/210;X_17:=MA(X_16,7);X_18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;X_19:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;X_20:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);X_21:=SUM(IF(CLOSE=REF(CLOSE,1),0,X_20),0);X_22:=MA(X_21,30);X_23:=VOL;X_24:=X_23>REF(HHV(X_23,30),1);X_25:=X_21>X_22;X_26:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(OPEN,1),1,0);X_27:=HIGH>=HHV(HIGH,20);X_28:=REF(X_26,1);X_29:=COUNT(X_28,5)>=1;X_30:=COUNT(X_28,13)>=1;X_31:=OPEN<=REF(CLOSE,1) AND X_18<(-2);X_32:=COUNT(X_31,2)>=1;X_33:=X_29 AND X_18>2.5 AND REF(X_32,1) AND REF(X_18<2.4,1) AND X_4>0;X_34:=X_33 AND COUNT(X_33,30)=1 ;STICKLINE(X_26,OPEN,CLOSE,2,0),COLORYELLOW;X_35:=HIGH>=HHV(HIGH,150);X_36:=X_35=1 AND BArslAST(REF(X_35=1,1))>=1 AND X_18>3;DRAWICON(FILTER(X_36=1,1),LOW-0.2,25),COLORYELLOW;X_37:=VOL>MA(VOL,89);X_38:=X_37=1 AND BARSLAST(REF(X_37=1,1))>=6 AND HIGH>济安线 AND X_4>X_5;STICKLINE(X_34,OPEN,CLOSE,1,0),COLORF00FF0;X_39:=X_6 AND CLOSE>X_2 AND LOW<=X_2 AND CLOSE>OPEN AND X_7>47 AND X_30;DRAWICON(X_34,LOW,24);DRAWICON(X_34,LOW-0.3,25);DRAWICON(X_34,LOW-0.6,26);A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND crOSS(A8,MA(A8,2));{DRAWICON(FILTER(买=1,5),LOW-0.05,26),COLORYELLOW;} STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;。

筹码分析通达信指标公式

筹码分析通达信指标公式

LC:=REF(CLOSE,1);WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;获利筹码:=CONST(WINNER(C)*100);SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和:=(IF(SAT>1,1,SAT)*100);WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;活跃:=(WRSI-WR10);活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.25,1,STRCAT(STRCAT('量能饱和:',CON2STR(量能饱和,2)),'%')),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.52,1,STRCAT(STRCAT('活跃度比:',CON2STR(活跃度比,2)),'%')),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.75,1,STRCAT(STRCAT('获利筹码:',CON2STR(获利筹码,2)),'%')),COLORYELLOW;DRAWRECTREL(950,470,630,365,RGB(150,10,250));DRAWRECTREL(950,710,630,610,RGB(150,10,250));DRAWRECTREL(950,855,630,955,RGB(150,10,250));DRAWRECTREL(950,470,630+CONST(量能饱和*(950-630)/100),365,RGB(0,100,0)); DRAWRECTREL(790,470,790,365,RGB(0,0,10));DRAWRECTREL(950,710,630+CONST(活跃度比*(950-630)/100),610,RGB(0,100,0)); DRAWRECTREL(790,710,790,610,RGB(0,0,10));DRAWRECTREL(950,855,630+CONST(获利筹码*(950-630)/100),955,RGB(0,100,0)); DRAWRECTREL(790,855,790,955,RGB(0,0,10));总涨幅周期:=350;高点位:=REFDATE(HHV(H,总涨幅周期),DATE);低点位:=REFDATE(LLV(L,总涨幅周期),DATE);低位价:=REF(L,BARSLAST(低点位=L)),COLORGREEN,NODRAW;高位价:=REF(H,BARSLAST(高点位=H)),COLORRED,NODRAW;曾最大涨幅:=(高位价-低位价)/低位价*100;当前涨幅:=(C-低位价)/低位价*100;ZFA:=CON2STR(CONST(曾最大涨幅),2);ZFB:=CON2STR(CONST(当前涨幅),2);ZFC:=STRCAT('【曾最大涨幅】:',ZFA);ZFD:=STRCAT(ZFC,'%');ZFE:=STRCAT(ZFD,'【当前总涨幅】:');ZFF:=STRCAT(ZFE,ZFB);ZFG:=STRCAT(ZFF,'%');{DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,''),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,ZFG),COLORYELLOW};AA1X:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),- VOL/CAPITAL*100,0)),0)};成交额:=V*C/100,NODRAW;{万元}AA2X:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);AA3X:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);AA4X:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);AA5X:=SUM((IF(((成交额/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0);AA6X:=((AA2X+AA3X)+AA4X)+AA5X;DD1X:=1;AAA1:=STRCAT(STRCAT('机构持有',CON2STR((100*AA2X)/AA6X,0)),'%');AAA2:=STRCAT(STRCAT('散户持有',CON2STR((100*AA3X)/AA6X,0)),'%'); DRAWTEXT_FIX(1,0.83,0,1,'《★筹码分析★》'),COLORRED;DRAWTEXT_FIX(DD1X=1,0.63,0,0,AAA1),COLORMAGENTA;DRAWTEXT_FIX(DD1X=1,0.89,0,0,AAA2),COLORGREEN;VARA5:=CONST(AA2X/AA6X*100);DRAWRECTREL(950,220,630,115,RGB(150,10,250));DRAWRECTREL(950,220,630+CONST(VARA5*(950-630)/100),115,RGB(0,100,0)); DRAWRECTREL(790,220,790,115,RGB(0,0,10));。

通达信指标公式源码 主图上加筹码峰公式

通达信指标公式源码 主图上加筹码峰公式

DRAWTEXT_FIX(C>0,0.004,0.11,0,DYBLOCK),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(C>0,0.06,0.11,0,HYBLOCK),COLORRED,LINETHICK2; DRAWTEXT_FIX(C>0,0.12,0.11,0,EXTERNSTR(0,1)),COLORWHITE,LINETHIC K2;DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);GZ:=EXP(LN(HI/LO)/10);LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA); LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA); LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA); LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA); LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA); LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA); LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;L4:=REFDATE(HHV(LH4,DA),DATE);L5:=REFDATE(HHV(LH5,DA),DATE);L6:=REFDATE(HHV(LH6,DA),DATE);L7:=REFDATE(HHV(LH7,DA),DATE);L8:=REFDATE(HHV(LH8,DA),DATE);L9:=REFDATE(HHV(LH9,DA),DATE);L10:=REFDATE(HHV(LH10,DA),DATE);SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0 )COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/10 0,HI/POW(GZ,2),9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/10 0,HI/POW(GZ,3),9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/10 0,HI/POW(GZ,4),9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/10 0,HI/POW(GZ,5),9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/10 0,HI/POW(GZ,6),9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/10 0,HI/POW(GZ,7),9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*P OW(GZ,3)*99/100,9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*P OW(GZ,2)*99/100,9,0)COLOR3C3C3A,LINETHICK3;STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)* 99/100,9,0)COLOR3C3C3A,LINETHICK3;DRAWKLINE(H,O,L,C);MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,30);MA4:MA(CLOSE,60);VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3)/VAR3;VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR7:=0;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),7,1)*100;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),13,1)*100;VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);{自动画线}HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0; MADISPLAY:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COL OR0055FF,POINTDOT;相对高点:DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),C OLORYELLOW,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),C OLORFF55BB,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COL ORMAGENTA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COL ORCYAN,POINTDOT;。

通达信公式指标源码换手筹码峰指标公式.docx

通达信公式指标源码换手筹码峰指标公式.docx

通达信换手筹码峰指标公式{换手峰20130504}DRAWGBK(C>0, RGB(50,50,50)z RGB(00,0,0),0,,0,,0);{浅色背景}HSL:=EMA(VOL/CAPITAL,3);ZDL:=HHV(HSL,240);ZXL:=LLV(HSL,240);XS:=MA(C,33);锁定筹码:=EM A((HSL-ZXL)/ZXL*XS, 13),COLORYELLOW;锁定:=IF(锁定筹码>0,锁定筹码,0)Z COLORYELLOW;浮动筹码:=EMA((ZDL-HSL)/HSL*XS,13);急速超跌:=(C-MA(C,34))/MA(C Z34)*100<-14;当日收阳:=(H-L)/L>0.07{当天振幅大于7%}AND (C-0)/0>0.07{当天的K线实体长度大于7%}AND C/REF(C,l)>1.05{当日涨幅超过5%};DRAWBAND(锁定,RGB(240,140,0),0,RGB(0,0,0));DRAWBAND(锁定*0.9,RGB(220z120z0)z0,RGB(0z0z0));DRAWBAND(锁定*0.8,RGB(200,100,0),0,RGB(0z0,0)); DRAWBAND(锁定*0.7,RGB(180,80,0),0z RGB(0,0,0));DRAWBAND(锁定*0.6,RGB(160,60,0),0,RGB(0,0,0));DRAWBAND(锁定*0.5,RGB(140,40z0),0z RGB(0z0z0));早春:急速超跌AND当日收阳,COLORC080FF;STICKLINE(早春Z O,99A1),COLORGREEN;DRAWTEXT(早春,88/ 早春COLORGREEN;起爆:LLV(L,3)=LLV(L,60) AND C/REF(C,l)> = 1.04; {爆点60.64%}; XL3:=(C-EMA(C,21))/EMA(C,21)*100;STICKLINE(起爆〉0,0,20,2,0),COLORYELLOW;DRAWTEXT(FILTER(起爆,5),18;起爆f),COLORYELLOW;筹码峰:=WINNER(CLOSE)*100Z COLORRED, LINETHICK2;筹码20:EMA(筹码峰,20),COLORRED, LINETHICK1;筹码快:EMA(筹码20,5),COLORYELLOW, LINETHICK1,COLORFFOOFF; 筹码慢:EMA(筹码快Z5),COLOR0080FF Z LINETHICK1;DRAWBAND(筹码20,RGB(250,0,0),筹码快,RGB(0z200,200));A:=CROSS(筹码20,筹码慢);B:=CROSS(筹码慢’筹码20);DRAWICON(A,筹码20-0.1,1);DRAWICON(B,筹码20+0.1,2);。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
STICKLINE(ISLASTBAR,B312 ,B312 ,A12*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B313 ,B313 ,A13*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B314 ,B314 ,A14*50 ,0 ),COLORGRAY;
A42:=WINNER(B341)*100-WINNER(B342)*100;
A43:=WINNER(B342)*100-WINNER(B343)*100;
A44:=WINNER(B343)*100-WINNER(B344)*100;
A45:=WINNER(B344)*100-WINNER(B345)*100;
A22:=WINNER(B321)*100-WINNER(B322)*100;
A23:=WINNER(B322)*100-WINNER(B323)*100;
A24:=WINNER(B323)*100-WINNER(B324)*100;
A25:=WINNER(B324)*100-WINNER(B325)*100;
STICKLINE(ISLASTBAR,B327 ,B327 ,A27*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B328 ,B328 ,A28*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B329 ,B329 ,A29*50 ,0 ),COLORGRAY;
B339:=HB-39*B3;
B340:=HB-40*B3;
B341:=HB-41*B3;
B342:=HB-42*B3;
B343:=HB-43*B3;
B344:=HB-44*B3;
B345:=HB-45*B3;
B346:=HB-46*B3;
B347:=HB-47*B3;
B348:=HB-48*B3;
STICKLINE(ISLASTBAR,B318 ,B318 ,A18*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B319 ,B319 ,A19*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B320 ,B320 ,A20*50 ,0 ),COLORGRAY;
A38:=WINNER(B337)*100-WINNER(B338)*100;
A39:=WINNER(B338)*100-WINNER(B339)*100;
A40:=WINNER(B339)*100-WINNER(B340)*100;
A41:=WINNER(B340)*100-WINNER(B341)*100;
STICKLINE(ISLASTBAR,B33 ,B33 ,A3*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B34 ,B34 ,A4*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B35 ,B35 ,A5*50 ,0 ),COLORGRAY;
B349:=HB-49*B3;
A1:=WINNER(HB)*100-WINNER(B31)*100;
A2:=WINNER(B31)*100-WINNER(B32)*100;
A3:=WINNER(B32)*100-WINNER(B33)*100;
A4:=WINNER(B33)*100-WINNER(B34)*100;
STICKLINE(ISLASTBAR,B330 ,B330 ,A30*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B331 ,B331 ,A31*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B332 ,B332 ,A32*50 ,0 ),COLORGRAY;
A14:=WINNER(B313)*100-WINNER(B314)*100;
A15:=WINNER(B314)*100-WINNER(B315)*100;
A16:=WINNER(B315)*100-WINNER(B316)*100;
A17:=WINNER(B316)*100-WINNER(B317)*100;
STICKLINE(ISLASTBAR,B336 ,B336 ,A36*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B337 ,B337 ,A37*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B338 ,B338 ,A38*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B339 ,B339 ,A39*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B340 ,B340 ,A40*50 ,0 ),COLORGRAY;
A34:=WINNER(B333)*100-WINNER(B334)*100;
A35:=WINNER(B334)*100-WINNER(B335)*100;
A36:=WINNER(B335)*100-WINNER(B336)*100;
A37:=WINNER(B336)*100-WINNER(B337)*100;
STICKLINE(ISLASTBAR,B39 ,B39 ,A9*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B310 ,B310 ,A10*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B311 ,B311 ,A11*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B321 ,B321 ,A21*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B322 ,B322 ,A22*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B323 ,B323 ,A23*50 ,0 ),COLORGRAY;
A46:=WINNER(B345)*100-WINNER(B346)*100;
A47:=WINNER(B346)*100-WINNER(B347)*100;
A48:=WINNER(B347)*100-WINNER(B348)*100;
A49:=WINNER(B348)*100-WINNER(B349)*100;
B319:=HB-19*B3;
B320:=HB-20*B3;
B321:=HB-21*B3;
B322:=HB-22*B3;
B323:=HB-23*B3;
B324:=HB-24*B3;
B325:=HB-25*B3;
B326:=HB-26*B3;
B327:=HB-27*B3;
B328:=HB-28*B3;
A5:=WINNER(B34)*100-WINNER(B35)*100;
A6:=WINNER(B35)*100-WINNER(B36)*100;
A7:=WINNER(B36)*100-WINNER(B37)*100;
A8:=WINNER(B37)*100-WINNER(B38)*100;
A9:=WINNER(B38)*100-WINNER(B39)*100;
STICKLINE(ISLASTBAR,B315 ,B315 ,A15*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B316 ,B316 ,A16*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B317 ,B317 ,A17*50 ,0 ),COLORGRAY;
A30:=WINNER(B329)*100-WINNER(B330)*100;
A31:=WINNER(B330)*100-WINNER(B331)*100;
A32:=WINNER(B331)*100-WINNER(B332)*100;
A33:=WINNER(B332)*100-WINNER(B333)*100;
STICKLINE(ISLASTBAR,B333 ,B333 ,A33*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B334 ,B334 ,A34*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B335 ,B335 ,A35*50 ,0 ),COLORGRAY;
B329:=HB-29*B3;
B330:=HB-30*B3;
B331:=HB-31*B3;
B332:=HB-32*B3;
B333:=HB-33*B3;
B334:=HB-34*B3;
B335:=HB-35*B3;
B336:=HB-36*B3;
B337:=HB-37*B3;
B338:=HB-38*B3;
HB:=COST(99.9);
LB:=COST(0.1);
B3:=(HB-LB)/50;
B31:=HB-B3;
B32:=HB-2*B3;
B33:=HB-3*B3;
B34:=HB-4*B3;
B35:=HB-5*B3;
B36:=HB-6*B3;
B37:=HB-7*B3;
B38:=HB-8*B3;
STICKLINE(ISLASTBAR,B36 ,B36 ,A6*50 ,0 ),COLORGRAY;
STICKLINE(ISLASTBAR,B37 ,B37 ,A7*50 ,0 ),COLORGRAY;
相关文档
最新文档