通达信【筹码抓单峰】选牛三部曲用法详解 主副图指标 源码
{筹码抓单峰主图源码如下}
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);
ABC1:=SUM(IF(C1>=(HI/GZ),V,0),DA);
ABC2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1< (HI/GZ),V,0),DA);
ABC3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1< (HI/POW(GZ,2)),V,0),DA);
ABC4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1< (HI/POW(GZ,3)),V,0),DA);
ABC5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1< (HI/POW(GZ,4)),V,0),DA);
ABC6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1< (HI/POW(GZ,5)),V,0),DA);
ABC7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1< (HI/POW(GZ,6)),V,0),DA);
ABC8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1< (HI/POW(GZ,7)),V,0),DA);
ABC9:=SUM(IF(C1>=(LO*GZ) AND C1< LO*POW(GZ,2),V,0),DA);
ABC10:=SUM(IF(C1>=LO AND C1< LO*GZ,V,0),DA);
L1:=REFDATE(HHV(ABC1,DA),DATE);
L2:=REFDATE(HHV(ABC2,DA),DATE);
L3:=REFDATE(HHV(ABC3,DA),DATE);
L4:=REFDATE(HHV(ABC4,DA),DATE);
L5:=REFDATE(HHV(ABC5,DA),DATE);
L6:=REFDATE(HHV(ABC6,DA),DATE);
L7:=REFDATE(HHV(ABC7,DA),DATE);
L8:=REFDATE(HHV(ABC8,DA),DATE);
L9:=REFDATE(HHV(ABC9,DA),DATE);
L10:=REFDATE(HHV(ABC10,DA),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
ZT:=C/REF(C,1)>1.094 AND H=C;
STICKLINE(ZT,C,O,3.0,0),COLORYELLOW;
W5:COST(5),DOTLINE;
W95:COST(95),DOTLINE;
C2:W95-W5,NODRAW;
获利筹码:CONST( (C)*100),NODRAW;
ZG:=HHV(H,598);
BZ:=C2/ZG*100,NODRAW;
JZ:=BZ< 20 AND CROSS(C,COST(90)) AND C/REF(C,1)>1.0618;
DRAWICON(JZ,L*0.989,38);
GJ:=HHV(H,21),COLORRED,POINTDOT;
ZTS:BARSLAST(GJ<>REF(GJ,1))>=6,NODRAW;
TJ1:=BARSLAST(GJ=REF(GJ,1));
HX:H>IF(ZTS=1,REF(GJ,1),DRAWNULL),NODRAW;
AA1:=REF(GJ,21)=HHV(GJ,2*21+1);
BB1:=FILTER(AA1,21);
CC1:= (BB1,21+1);
DD1:=FILTER(CC1,21),NODRAW;
前期高点:=REF(GJ,BARSLAST(DD1)),COLORFF00FF,DOTLINE;
PT:STICKLINE(C>0,前期高点,前期高点,1,0),COLORRED;
PL1:=(CROSS(C,REF(前期高点,1))OR L< 前期高点 AND C>前期高点) AND C/REF(C,1)>=1.098 AND C=H,NODRAW;
STICKLINE(PL1,(C+O)/2,C,3,0),COLORRED;
HL:=(COST(97)-COST(3))/10;
BCD1:= (COST(3)+HL*1)- (COST(3)+HL*0);
BCD2:= (COST(3)+HL*2)- (COST(3)+HL*1);
BCD3:= (COST(3)+HL*3)- (COST(3)+HL*2);
BCD4:= (COST(3)+HL*4)- (COST(3)+HL*3);
BCD5:= (COST(3)+HL*5)- (COST(3)+HL*4);
BCD6:= (COST(3)+HL*6)- (COST(3)+HL*5);
BCD7:= (COST(3)+HL*7)- (COST(3)+HL*6);
BCD8:= (COST(3)+HL*8)- (COST(3)+HL*7);
BCD9:= (COST(3)+HL*9)- (COST(3)+HL*8);
BCD10:= (COST(3)+HL*10)- (COST(3)+HL*9);
MXBCD:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(BCD1,BCD2),BCD3),BCD4),BCD5),BCD6),BCD7),BCD8),BCD9),BCD10);
峰价上:=IF(BCD10>=MXBCD,COST(3)+HL*10,IF(BCD9>=MXBCD,COST(3)+HL*9,IF(BCD8>=MXBCD,COST(3)+HL*8,IF(BCD7>=MXBCD,COST(3)+HL*7,IF(BCD6>=MXBCD,COST(3)+HL*6,IF(BCD5>=MXBCD,COST(3)+HL*5,IF(BCD4>=MXBCD,COST(3)+HL*4,IF(BCD3>=MXBCD,COST(3)+HL*3,IF(BCD2>=MXBCD,COST(3)+HL*2,IF(BCD1>=MXBCD,COST(3)+HL*1,0)))))))))),COLORWHITE;
峰价下:=峰价上-HL,COLORWHITE;
峰价中:=峰价上-HL*0.5,COLORMAGENTA;
峰量:MXBCD*100,NODRAW;
CB:=COST(60)> REF(COST(60),1);
XG:=REF(C,1)< 峰价中 AND CROSS(C,峰价中) AND CB;
DRAWICON(XG,峰价中,1);
ACB36:=COST(1);
ACB37:=COST(10);
ACB38:=COST(20);
ACB39:=COST(30);
ACB40:=COST(40);
ACB41:=COST(50);
ACB42:=COST(60);
ACB43:=COST(70);
ACB44:=COST(80);
ACB45:=COST(90);
ACB46:=COST(99);
ACB47:=COST(5);
ACB48:=COST(15);
ACB49:=COST(25);
ACB50:=COST(35);
ACB51:=COST(45);
ACB52:=COST(55);
ACB53:=COST(65);
ACB54:=COST(75);
ACB55:=COST(85);
ACB56:=COST(95);
ACB57:=ACB47-ACB36;
ACB58:=ACB37-ACB47;
ACB59:=ACB48-ACB37;
ACB60:=ACB38-ACB48;
ACB61:=ACB49-ACB38;
ACB62:=ACB39-ACB49;
ACB63:=ACB50-ACB39;
ACB64:=ACB40-ACB50;
ACB65:=ACB51-ACB40;
ACB66:=ACB41-ACB51;
ACB67:=ACB52-ACB41;
ACB68:=ACB42-ACB52;
ACB69:=ACB53-ACB42;
ACB70:=ACB43-ACB53;
ACB71:=ACB54-ACB43;
ACB72:=ACB44-ACB54;
ACB73:=ACB55-ACB44;
ACB74:=ACB45-ACB55;
ACB75:=ACB56-ACB45;
ACB76:=ACB46-ACB56;
ACB77:=MIN(ACB57,MIN(ACB58,MIN(ACB59,MIN(ACB60,MIN(ACB61,MIN(ACB62,MIN(ACB63,MIN(ACB64,MIN(ACB65,MIN(ACB66,MIN(ACB67,MIN(ACB68,MIN(ACB69,MIN(ACB70,MIN(ACB71,MIN(ACB72,MIN(ACB73,MIN(ACB74,MIN(ACB75,ACB76)))))))))))))))))));
ACB78:=IF(ACB57=ACB77,(ACB47+ACB36)/2,IF(ACB58=ACB77,(ACB47+ACB37)/2,IF(ACB59=ACB77,(ACB48+ACB37)/2,IF(ACB60=ACB77,(ACB48+ACB38)/2,IF(ACB61=ACB77,(ACB49+ACB38)/2,IF(ACB62=ACB77,(ACB49+ACB39)/2,IF(ACB63=ACB77,(ACB50+ACB39)/2,IF(ACB64=ACB77,(ACB50+ACB40)/2,IF(ACB65=ACB77,(ACB51+ACB40)/2,IF(ACB66=ACB77,(ACB51+ACB41)/2,IF(ACB67=ACB77,(ACB52+ACB41)/2,IF(ACB68=ACB77,(ACB52+ACB42)/2,IF(ACB69=ACB77,(ACB53+ACB42)/2,IF(ACB70=ACB77,(ACB53+ACB43)/2,IF(ACB71=ACB77,(ACB54+ACB43)/2,IF(ACB72=ACB77,(ACB54+ACB44)/2,IF(ACB73=ACB77,(ACB55+ACB44)/2,IF(ACB74=ACB77,(ACB55+ACB45)/2,IF(ACB75=ACB77,(ACB56+ACB45)/2,(ACB56+ACB46)/2)))))))))))))))))));
筹码峰线:ACB78,NODRAW,COLOR00EEEE;
STICKLINE(ISLASTBAR,筹码峰线,筹码峰线*1.001,60,0),COLORWHITE,COLORLIMAGENTA;
筹码单峰密集:=IF(CROSS(C,筹码峰线),1,0 );
DRAWICON(筹码单峰密集 AND ZT,L*0.98,9);
{筹码抓单峰副源码如下}
ZT:=C/REF(C,1)>1.094 AND H=C;
ACB36:=COST(1);
ACB37:=COST(10);
ACB38:=COST(20);
ACB39:=COST(30);
ACB40:=COST(40);
ACB41:=COST(50);
ACB42:=COST(60);
ACB43:=COST(70);
ACB44:=COST(80);
ACB45:=COST(90);
ACB46:=COST(99);
ACB47:=COST(5);
ACB48:=COST(15);
ACB49:=COST(25);
ACB50:=COST(35);
ACB51:=COST(45);
ACB52:=COST(55);
ACB53:=COST(65);
ACB54:=COST(75);
ACB55:=COST(85);
ACB56:=COST(95);
ACB57:=ACB47-ACB36;
ACB58:=ACB37-ACB47;
ACB59:=ACB48-ACB37;
ACB60:=ACB38-ACB48;
ACB61:=ACB49-ACB38;
ACB62:=ACB39-ACB49;
ACB63:=ACB50-ACB39;
ACB64:=ACB40-ACB50;
ACB65:=ACB51-ACB40;
ACB66:=ACB41-ACB51;
ACB67:=ACB52-ACB41;
ACB68:=ACB42-ACB52;
ACB69:=ACB53-ACB42;
ACB70:=ACB43-ACB53;
ACB71:=ACB54-ACB43;
ACB72:=ACB44-ACB54;
ACB73:=ACB55-ACB44;
ACB74:=ACB45-ACB55;
ACB75:=ACB56-ACB45;
ACB76:=ACB46-ACB56;
ACB77:=MIN(ACB57,MIN(ACB58,MIN(ACB59,MIN(ACB60,MIN(ACB61,MIN(ACB62,MIN(ACB63,MIN(ACB64,MIN(ACB65,MIN(ACB66,MIN(ACB67,MIN(ACB68,MIN(ACB69,MIN(ACB70,MIN(ACB71,MIN(ACB72,MIN(ACB73,MIN(ACB74,MIN(ACB75,ACB76)))))))))))))))))));
ACB78:=IF(ACB57=ACB77,(ACB47+ACB36)/2,IF(ACB58=ACB77,(ACB47+ACB37)/2,IF(ACB59=ACB77,(ACB48+ACB37)/2,IF(ACB60=ACB77,(ACB48+ACB38)/2,IF(ACB61=ACB77,(ACB49+ACB38)/2,IF(ACB62=ACB77,(ACB49+ACB39)/2,IF(ACB63=ACB77,(ACB50+ACB39)/2,IF(ACB64=ACB77,(ACB50+ACB40)/2,IF(ACB65=ACB77,(ACB51+ACB40)/2,IF(ACB66=ACB77,(ACB51+ACB41)/2,IF(ACB67=ACB77,(ACB52+ACB41)/2,IF(ACB68=ACB77,(ACB52+ACB42)/2,IF(ACB69=ACB77,(ACB53+ACB42)/2,IF(ACB70=ACB77,(ACB53+ACB43)/2,IF(ACB71=ACB77,(ACB54+ACB43)/2,IF(ACB72=ACB77,(ACB54+ACB44)/2,IF(ACB73=ACB77,(ACB55+ACB44)/2,IF(ACB74=ACB77,(ACB55+ACB45)/2,IF(ACB75=ACB77,(ACB56+ACB45)/2,(ACB56+ACB46)/2)))))))))))))))))));
筹码峰线:=ACB78;
筹码单峰密集:=IF(CROSS(C,筹码峰线)AND ZT,1,0 );
筹码单峰密集 COLORYELLOW ;
DRAWICON(筹码单峰密集,1,9);
未来函数检测结果如下:
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
如果130>TOTALBARSCOUNT返回TOTALBARSCOUNT否则返回130
如果 到最后交易的周期>DA1返回0否则返回DA1
HI赋值:REFDATE(DA日内H最高值,DATE)
LO赋值:REFDATE(DA日内L最低值,DATE)
如果 到最后交易的周期<=DA返回C否则返回DRAWNULL
GZ赋值:EXP(LN(HI/LO)/10)
ABC1赋值:SUM(IF(C1>=(HI/GZ),V,0),DA)
ABC2赋值:SUM(IF(C1>=(HI/POW(GZ,2)) AND C1< (HI/GZ),V,0),DA)
ABC3赋值:SUM(IF(C1>=(HI/POW(GZ,3)) AND C1< (HI/POW(GZ,2)),V,0),DA)
ABC4赋值:SUM(IF(C1>=(HI/POW(GZ,4)) AND C1< (HI/POW(GZ,3)),V,0),DA)
ABC5赋值:SUM(IF(C1>=(HI/POW(GZ,5)) AND C1< (HI/POW(GZ,4)),V,0),DA)
ABC6赋值:SUM(IF(C1>=(HI/POW(GZ,6)) AND C1< (HI/POW(GZ,5)),V,0),DA)
ABC7赋值:SUM(IF(C1>=(HI/POW(GZ,7)) AND C1< (HI/POW(GZ,6)),V,0),DA)
ABC8赋值:SUM(IF(C1>=(HI/POW(GZ,8)) AND C1< (HI/POW(GZ,7)),V,0),DA)
ABC9赋值:SUM(IF(C1>=(LO*GZ) AND C1< LO*POW(GZ,2),V,0),DA)
如果C1>=LO AND C1< LO*GZ返回V否则返回0
L1赋值:REFDATE(DA日内ABC1最高值,DATE)
L2赋值:REFDATE(DA日内ABC2最高值,DATE)
L3赋值:REFDATE(DA日内ABC3最高值,DATE)
L4赋值:REFDATE(DA日内ABC4最高值,DATE)
L5赋值:REFDATE(DA日内ABC5最高值,DATE)
L6赋值:REFDATE(DA日内ABC6最高值,DATE)
L7赋值:REFDATE(DA日内ABC7最高值,DATE)
L8赋值:REFDATE(DA日内ABC8最高值,DATE)
L9赋值:REFDATE(DA日内ABC9最高值,DATE)
L10:=REFDATE(DA日内ABC10最高值,DATE)
SS赋值:(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10)
ZT赋值:C/1日前的C>1.094 AND H=C
当满足条件ZT时,在C和O之间画柱状线
输出W5:获利盘为5%的成本分布,DOTLINE
输出W95:获利盘为95%的成本分布,DOTLINE
输出C2:W95-W5,NODRAW
输出获利筹码:CONST( (C)*100),NODRAW
ZG赋值:598日内H最高值
BZ赋值:C2/ZG*100,NODRAW
JZ赋值:BZ< 20 AND CROSS(C,获利盘为90%的成本分布) AND C/1日前的C>1.0618
当满足条件JZ时,在L*0.989和38之间画图标
GJ赋值:21日内H最高值,COLORRED,POINTDOT
ZTS:上次GJ<>1日前的GJ距今天数>=6,NODRAW
TJ1赋值:上次GJ=1日前的GJ距今天数
输出HX:H>IF(ZTS=1,1日前的GJ,DRAWNULL),NODRAW
AA1赋值:21日前的GJ=2*21+1日内GJ最高值
BB1赋值:AA1的21过滤
CC1赋值: (BB1,21+1)
DD1赋值:CC1的21过滤,NODRAW
前期高点赋值:REF(GJ,上次DD1距今天数),COLORFF00FF,DOTLINE
当满足条件C>0时,在前期高点和前期高点之间画柱状线
PL1赋值:(CROSS(C,1日前的前期高点)OR L< 前期高点 AND C>前期高点) AND C/1日前的C>=1.098 AND C=H,NODRAW
STICKLINE(PL1,(C+O)/2,C,3,0),COLORRED
HL赋值:(获利盘为97%的成本分布-COST(3))/10
BCD1赋值: (获利盘为3%的成本分布+HL*1)- (获利盘为3%的成本分布+HL*0)
BCD2赋值: (获利盘为3%的成本分布+HL*2)- (获利盘为3%的成本分布+HL*1)
BCD3赋值: (获利盘为3%的成本分布+HL*3)- (获利盘为3%的成本分布+HL*2)
BCD4赋值: (获利盘为3%的成本分布+HL*4)- (获利盘为3%的成本分布+HL*3)
BCD5赋值: (获利盘为3%的成本分布+HL*5)- (获利盘为3%的成本分布+HL*4)
BCD6赋值: (获利盘为3%的成本分布+HL*6)- (获利盘为3%的成本分布+HL*5)
BCD7赋值: (获利盘为3%的成本分布+HL*7)- (获利盘为3%的成本分布+HL*6)
BCD8赋值: (获利盘为3%的成本分布+HL*8)- (获利盘为3%的成本分布+HL*7)
BCD9赋值: (获利盘为3%的成本分布+HL*9)- (获利盘为3%的成本分布+HL*8)
BCD10:= (获利盘为3%的成本分布+HL*10)- (获利盘为3%的成本分布+HL*9)
MXBCD赋值:BCD1和BCD2较大值,BCD3),BCD4),BCD5),BCD6),BCD7),BCD8),BCD9),BCD10)
峰价上赋值:IF(BCD10>=MXBCD,获利盘为3%的成本分布+HL*10,IF(BCD9>=MXBCD,获利盘为3%的成本分布+HL*9,IF(BCD8>=MXBCD,获利盘为3%的成本分布+HL*8,IF(BCD7>=MXBCD,获利盘为3%的成本分布+HL*7,IF(BCD6>=MXBCD,获利盘为3%的成本分布+HL*6,IF(BCD5>=MXBCD,获利盘为3%的成本分布+HL*5,IF(BCD4>=MXBCD,获利盘为3%的成本分布+HL*4,IF(BCD3>=MXBCD,获利盘为3%的成本分布+HL*3,IF(BCD2>=MXBCD,获利盘为3%的成本分布+HL*2,IF(BCD1>=MXBCD,获利盘为3%的成本分布+HL*1,0)))))))))),COLORWHITE
峰价下赋值:峰价上-HL,COLORWHITE
峰价中赋值:峰价上-HL*0.5,COLORMAGENTA
输出峰量:MXBCD*100,NODRAW
CB赋值:获利盘为60%的成本分布> REF(获利盘为60%的成本分布,1)
XG赋值:1日前的C< 峰价中 AND C上穿峰价中 AND CB
当满足条件XG时,在峰价中和1之间画图标
ACB36:=获利盘为1%的成本分布
ACB37:=获利盘为10%的成本分布
ACB38:=获利盘为20%的成本分布
ACB39:=获利盘为30%的成本分布
ACB40:=获利盘为40%的成本分布
ACB41:=获利盘为50%的成本分布
ACB42:=获利盘为60%的成本分布
ACB43:=获利盘为70%的成本分布
ACB44:=获利盘为80%的成本分布
ACB45:=获利盘为90%的成本分布
ACB46:=获利盘为99%的成本分布
ACB47:=获利盘为5%的成本分布
ACB48:=获利盘为15%的成本分布
ACB49:=获利盘为25%的成本分布
ACB50:=获利盘为35%的成本分布
ACB51:=获利盘为45%的成本分布
ACB52:=获利盘为55%的成本分布
ACB53:=获利盘为65%的成本分布
ACB54:=获利盘为75%的成本分布
ACB55:=获利盘为85%的成本分布
ACB56:=获利盘为95%的成本分布
ACB57:=ACB47-ACB36
ACB58:=ACB37-ACB47
ACB59:=ACB48-ACB37
ACB60:=ACB38-ACB48
ACB61:=ACB49-ACB38
ACB62:=ACB39-ACB49
ACB63:=ACB50-ACB39
ACB64:=ACB40-ACB50
ACB65:=ACB51-ACB40
ACB66:=ACB41-ACB51
ACB67:=ACB52-ACB41
ACB68:=ACB42-ACB52
ACB69:=ACB53-ACB42
ACB70:=ACB43-ACB53
ACB71:=ACB54-ACB43
ACB72:=ACB44-ACB54
ACB73:=ACB55-ACB44
ACB74:=ACB45-ACB55
ACB75:=ACB56-ACB45
ACB76:=ACB46-ACB56
ACB77:=MIN(ACB57,MIN(ACB58,MIN(ACB59,MIN(ACB60,MIN(ACB61,MIN(ACB62,MIN(ACB63,MIN(ACB64,MIN(ACB65,MIN(ACB66,MIN(ACB67,MIN(ACB68,MIN(ACB69,MIN(ACB70,MIN(ACB71,MIN(ACB72,MIN(ACB73,MIN(ACB74,MIN(ACB75,ACB76)))))))))))))))))))
ACB78:=IF(ACB57=ACB77,(ACB47+ACB36)/2,IF(ACB58=ACB77,(ACB47+ACB37)/2,IF(ACB59=ACB77,(ACB48+ACB37)/2,IF(ACB60=ACB77,(ACB48+ACB38)/2,IF(ACB61=ACB77,(ACB49+ACB38)/2,IF(ACB62=ACB77,(ACB49+ACB39)/2,IF(ACB63=ACB77,(ACB50+ACB39)/2,IF(ACB64=ACB77,(ACB50+ACB40)/2,IF(ACB65=ACB77,(ACB51+ACB40)/2,IF(ACB66=ACB77,(ACB51+ACB41)/2,IF(ACB67=ACB77,(ACB52+ACB41)/2,IF(ACB68=ACB77,(ACB52+ACB42)/2,IF(ACB69=ACB77,(ACB53+ACB42)/2,IF(ACB70=ACB77,(ACB53+ACB43)/2,IF(ACB71=ACB77,(ACB54+ACB43)/2,IF(ACB72=ACB77,(ACB54+ACB44)/2,IF(ACB73=ACB77,(ACB55+ACB44)/2,IF(ACB74=ACB77,(ACB55+ACB45)/2,IF(ACB75=ACB77,(ACB56+ACB45)/2,(ACB56+ACB46)/2)))))))))))))))))))
输出筹码峰线:ACB78,NODRAW,COLOR00EEEE
当满足条件ISLASTBAR时,在筹码峰线和筹码峰线*1.001之间画柱状线
筹码单峰密集赋值:IF(C上穿筹码峰线,1,0 )
当满足条件筹码单峰密集 AND ZT时,在L*0.98和9之间画图标
{筹码抓单峰副源码如下}ZT赋值:C/1日前的C>1.094 AND H=C
ACB36:=获利盘为1%的成本分布
ACB37:=获利盘为10%的成本分布
ACB38:=获利盘为20%的成本分布
ACB39:=获利盘为30%的成本分布
ACB40:=获利盘为40%的成本分布
ACB41:=获利盘为50%的成本分布
ACB42:=获利盘为60%的成本分布
ACB43:=获利盘为70%的成本分布
ACB44:=获利盘为80%的成本分布
ACB45:=获利盘为90%的成本分布
ACB46:=获利盘为99%的成本分布
ACB47:=获利盘为5%的成本分布
ACB48:=获利盘为15%的成本分布
ACB49:=获利盘为25%的成本分布
ACB50:=获利盘为35%的成本分布
ACB51:=获利盘为45%的成本分布
ACB52:=获利盘为55%的成本分布
ACB53:=获利盘为65%的成本分布
ACB54:=获利盘为75%的成本分布
ACB55:=获利盘为85%的成本分布
ACB56:=获利盘为95%的成本分布
ACB57:=ACB47-ACB36
ACB58:=ACB37-ACB47
ACB59:=ACB48-ACB37
ACB60:=ACB38-ACB48
ACB61:=ACB49-ACB38
ACB62:=ACB39-ACB49
ACB63:=ACB50-ACB39
ACB64:=ACB40-ACB50
ACB65:=ACB51-ACB40
ACB66:=ACB41-ACB51
ACB67:=ACB52-ACB41
ACB68:=ACB42-ACB52
ACB69:=ACB53-ACB42
ACB70:=ACB43-ACB53
ACB71:=ACB54-ACB43
ACB72:=ACB44-ACB54
ACB73:=ACB55-ACB44
ACB74:=ACB45-ACB55
ACB75:=ACB56-ACB45
ACB76:=ACB46-ACB56
ACB77:=MIN(ACB57,MIN(ACB58,MIN(ACB59,MIN(ACB60,MIN(ACB61,MIN(ACB62,MIN(ACB63,MIN(ACB64,MIN(ACB65,MIN(ACB66,MIN(ACB67,MIN(ACB68,MIN(ACB69,MIN(ACB70,MIN(ACB71,MIN(ACB72,MIN(ACB73,MIN(ACB74,MIN(ACB75,ACB76)))))))))))))))))))
ACB78:=IF(ACB57=ACB77,(ACB47+ACB36)/2,IF(ACB58=ACB77,(ACB47+ACB37)/2,IF(ACB59=ACB77,(ACB48+ACB37)/2,IF(ACB60=ACB77,(ACB48+ACB38)/2,IF(ACB61=ACB77,(ACB49+ACB38)/2,IF(ACB62=ACB77,(ACB49+ACB39)/2,IF(ACB63=ACB77,(ACB50+ACB39)/2,IF(ACB64=ACB77,(ACB50+ACB40)/2,IF(ACB65=ACB77,(ACB51+ACB40)/2,IF(ACB66=ACB77,(ACB51+ACB41)/2,IF(ACB67=ACB77,(ACB52+ACB41)/2,IF(ACB68=ACB77,(ACB52+ACB42)/2,IF(ACB69=ACB77,(ACB53+ACB42)/2,IF(ACB70=ACB77,(ACB53+ACB43)/2,IF(ACB71=ACB77,(ACB54+ACB43)/2,IF(ACB72=ACB77,(ACB54+ACB44)/2,IF(ACB73=ACB77,(ACB55+ACB44)/2,IF(ACB74=ACB77,(ACB55+ACB45)/2,IF(ACB75=ACB77,(ACB56+ACB45)/2,(ACB56+ACB46)/2)))))))))))))))))))
筹码峰线赋值:ACB78
筹码单峰密集赋值:IF(C上穿筹码峰线AND ZT,1,0 )
筹码单峰密集 COLORYE497792941978051877LOW
当满足条件筹码单峰密集时,在1和9之间画图标