您当前的位置:股票 > 财经资讯 > 财经频道

通达信筹码分布主图指标公式,通达信高中低界主图指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

通达信筹码分布主图指标公式,通达信高中低界主图指标公式

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

TS:=350;N:=95;

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)/15); {对数格值}

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>=(HI/POW(GZ,9)) AND C1

LH10:=SUM(IF(C1>=(LO*POW(GZ,5)) AND C1

LH11:=SUM(IF(C1>=(LO*POW(GZ,4)) AND C1

LH12:=SUM(IF(C1>=(LO*POW(GZ,3)) AND C1

LH13:=SUM(IF(C1>=(LO*POW(GZ,2)) AND C1

LH14:=SUM(IF(C1>=(LO*GZ) AND C1

LH15:=SUM(IF(C1>=LO AND C1

L1:=REFDATE(HHV(LH1,DA),DATE);

L2:=REFDATE(HHV(LH2,DA),DATE);

L3:=REFDATE(HHV(LH3,DA),DATE);

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);

L11:=REFDATE(HHV(LH11,DA),DATE);

L12:=REFDATE(HHV(LH12,DA),DATE);

L13:=REFDATE(HHV(LH13,DA),DATE);

L14:=REFDATE(HHV(LH14,DA),DATE);

L15:=REFDATE(HHV(LH15,DA),DATE);

SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10+L11+L12+L13+L14+L15);

stICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,

HI*N/100,HI/GZ,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,1)*N/100,HI/POW(GZ,2),0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,2)*N/100,HI/POW(GZ,3),0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,3)*N/100,HI/POW(GZ,4),0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,4)*N/100,HI/POW(GZ,5),0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,5)*N/100,HI/POW(GZ,6),0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,6)*N/100,HI/POW(GZ,7),0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,7),LO*POW(GZ,8)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,6),LO*POW(GZ,7)*N/100,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,5),LO*POW(GZ,6)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L11/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,4),LO*POW(GZ,5)*N/100,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L12/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,3),LO*POW(GZ,4)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L13/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,2),LO*POW(GZ,3)*N/100,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L14/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,1),LO*POW(GZ,2)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L15/SS)*3>=CURRBARSCOUNT,

LO,LO*POW(GZ,1)*N/100,0.0001,1)COLORA5555A;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

通达信高中低界主图指标公式

{1}HH:=HHV(H,200);

LL:=LLV(L,200);

上涨:BARSSINCE(BacKSET(ISLAstBAR,BArslAST(L=LL)+1)),COLOR0000FF,NODRAW;

↑空间%:(C/REF(L,上涨)-1)*100,COLOR00FFFF,NODRAW;

最高%:(HH/REF(L,上涨)-1)*100,COLORFF00FF,NODRAW;

下跌:BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H=HH)+1)),COLOR00FF00,NODRAW;

↓空间%:(C/REF(H,下跌)-1)*100,COLOR888899,NODRAW;

最低%:(LL/REF(H,下跌)-1)*100,COLORFF0000,NODRAW;

天线:REFDATE(REF(H,下跌),DATE),POINTDOT,LINETHICK3,COLORYELLOW;

地线:REFDATE(REF(L,上涨),DATE),POINTDOT,LINETHICK3,COLOR00FF00;

中线:REFDATE((天线-地线)*0.5+地线,DATE),POINTDOT,LINETHICK3,COLOR00FF00;

STICKLINE(上涨=0,天线,地线,0,-1),COLORYELLOW;

STICKLINE(下跌=0,天线,地线,0,-1),COLORGREEN;

DRAWTEXT(下跌=0,地线*1.01,'-最低'),COLOR00FF00;

DRAWTEXT(上涨=0,天线*0.99,'-最高'),COLOR0000FF;

{2}高:=天线;

低:=地线;

H1:=高-(高-低)*0.191;

H2:=高-(高-低)*0.382;

H3:=高-(高-低)*0.5;

H4:=高-(高-低)*0.618;

H5:=高-(高-低)*0.809;

DRAWTEXT(下跌=0,高,'高'),COLORGREEN;

DRAWTEXT(下跌=0,H1,'809'),COLORCYAN;

DRAWTEXT(下跌=0,H2,'618'),COLORGRAY;

DRAWTEXT(下跌=0,H3,'中'),COLORYELLOW;

DRAWTEXT(下跌=0,H4,'382'),COLORLIRED;

DRAWTEXT(下跌=0,H5,'191'),COLORmaGENTA;

DRAWTEXT(上涨=0,H1,'风险'),COLORCYAN;

DRAWTEXT(上涨=0,H2,'高位'),COLORGRAY;

DRAWTEXT(上涨=0,H3,'中'),COLORYELLOW;

DRAWTEXT(上涨=0,H4,'低吸'),COLORLIRED;

DRAWTEXT(上涨=0 ,H5,'盘整'),COLORMAGENTA;

DRAWTEXT(上涨=0,低,'低'),COLORRED;

DRAWTEXT(上涨=5,H*1.02,'5'),COLOR00FFFF;

DRAWTEXT(上涨=8,H*1.02,'8'),COLOR00FFFF;

DRAWTEXT(上涨=13,H*1.02,'13'),COLOR00FFFF;

DRAWTEXT(上涨=21,H*1.02,'21'),COLOR00FFFF;

DRAWTEXT(上涨=34,H*1.02,'34'),COLOR00FFFF;

DRAWTEXT(上涨=55,H*1.02,'55'),COLOR00FFFF;

DRAWTEXT(上涨=89,H*1.02,'89'),COLOR00FFFF;

DRAWTEXT(上涨=144,H*1.02,'144'),COLOR00FFFF;

DRAWTEXT(上涨=180,H*1.02,'180'),COLOR00FFFF;

DRAWTEXT(上涨=250,H*1.02,'250'),COLOR00FFFF;

DRAWTEXT(下跌=5,L*0.98,'-5'),COLOR00FF00;

DRAWTEXT(下跌=8,L*0.98,'-8'),COLOR00FF00;

DRAWTEXT(下跌=13,L*0.98,'-13'),COLOR00FF00;

DRAWTEXT(下跌=21,L*0.98,'-21'),COLOR00FF00;

DRAWTEXT(下跌=34,L*0.98,'-34'),COLOR00FF00;

DRAWTEXT(下跌=55,L*0.98,'-55'),COLOR00FF00;

DRAWTEXT(下跌=89,L*0.98,'-89'),COLOR00FF00;

DRAWTEXT(下跌=144,L*0.98,'-144'),COLOR00FF00;

DRAWTEXT(下跌=180,L*0.98,'-180'),COLOR00FF00;

DRAWTEXT(下跌=250,L*0.98,'-250'),COLOR00FF00;

{3}C2:=REF(C,1);

跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);

涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(跌停,C,O,3.3,0),COLORBLUE;

STICKLINE(跌停,H,L,0,0),COLORBLUE;

STICKLINE(涨停,C,O,3.3,0),COLOR0077FF;

STICKLINE(涨停,C,O,2.8,0),COLOR0099FF;

STICKLINE(涨停,H,L,0,0),COLOR00FFFF;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:通达信筹码分布主图指标公式,通达信高中低界主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信筹码分布主图指标公式,通达信高中低界主图指标公式

admin888

|

通达信筹码分布主图指标公式,通达信高中低界主图指标公式

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

TS:=350;N:=95;

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)/15); {对数格值}

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>=(HI/POW(GZ,9)) AND C1

LH10:=SUM(IF(C1>=(LO*POW(GZ,5)) AND C1

LH11:=SUM(IF(C1>=(LO*POW(GZ,4)) AND C1

LH12:=SUM(IF(C1>=(LO*POW(GZ,3)) AND C1

LH13:=SUM(IF(C1>=(LO*POW(GZ,2)) AND C1

LH14:=SUM(IF(C1>=(LO*GZ) AND C1

LH15:=SUM(IF(C1>=LO AND C1

L1:=REFDATE(HHV(LH1,DA),DATE);

L2:=REFDATE(HHV(LH2,DA),DATE);

L3:=REFDATE(HHV(LH3,DA),DATE);

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);

L11:=REFDATE(HHV(LH11,DA),DATE);

L12:=REFDATE(HHV(LH12,DA),DATE);

L13:=REFDATE(HHV(LH13,DA),DATE);

L14:=REFDATE(HHV(LH14,DA),DATE);

L15:=REFDATE(HHV(LH15,DA),DATE);

SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10+L11+L12+L13+L14+L15);

stICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,

HI*N/100,HI/GZ,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,1)*N/100,HI/POW(GZ,2),0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,2)*N/100,HI/POW(GZ,3),0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,3)*N/100,HI/POW(GZ,4),0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,4)*N/100,HI/POW(GZ,5),0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,5)*N/100,HI/POW(GZ,6),0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,

HI/POW(GZ,6)*N/100,HI/POW(GZ,7),0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,7),LO*POW(GZ,8)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,6),LO*POW(GZ,7)*N/100,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,5),LO*POW(GZ,6)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L11/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,4),LO*POW(GZ,5)*N/100,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L12/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,3),LO*POW(GZ,4)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L13/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,2),LO*POW(GZ,3)*N/100,0.1,1)COLORA5555A;

STICKLINE(CEILING(DA*L14/SS)*3>=CURRBARSCOUNT,

LO*POW(GZ,1),LO*POW(GZ,2)*N/100,0.1,1)COLORA7777A;

STICKLINE(CEILING(DA*L15/SS)*3>=CURRBARSCOUNT,

LO,LO*POW(GZ,1)*N/100,0.0001,1)COLORA5555A;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

通达信高中低界主图指标公式

{1}HH:=HHV(H,200);

LL:=LLV(L,200);

上涨:BARSSINCE(BacKSET(ISLAstBAR,BArslAST(L=LL)+1)),COLOR0000FF,NODRAW;

↑空间%:(C/REF(L,上涨)-1)*100,COLOR00FFFF,NODRAW;

最高%:(HH/REF(L,上涨)-1)*100,COLORFF00FF,NODRAW;

下跌:BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(H=HH)+1)),COLOR00FF00,NODRAW;

↓空间%:(C/REF(H,下跌)-1)*100,COLOR888899,NODRAW;

最低%:(LL/REF(H,下跌)-1)*100,COLORFF0000,NODRAW;

天线:REFDATE(REF(H,下跌),DATE),POINTDOT,LINETHICK3,COLORYELLOW;

地线:REFDATE(REF(L,上涨),DATE),POINTDOT,LINETHICK3,COLOR00FF00;

中线:REFDATE((天线-地线)*0.5+地线,DATE),POINTDOT,LINETHICK3,COLOR00FF00;

STICKLINE(上涨=0,天线,地线,0,-1),COLORYELLOW;

STICKLINE(下跌=0,天线,地线,0,-1),COLORGREEN;

DRAWTEXT(下跌=0,地线*1.01,'-最低'),COLOR00FF00;

DRAWTEXT(上涨=0,天线*0.99,'-最高'),COLOR0000FF;

{2}高:=天线;

低:=地线;

H1:=高-(高-低)*0.191;

H2:=高-(高-低)*0.382;

H3:=高-(高-低)*0.5;

H4:=高-(高-低)*0.618;

H5:=高-(高-低)*0.809;

DRAWTEXT(下跌=0,高,'高'),COLORGREEN;

DRAWTEXT(下跌=0,H1,'809'),COLORCYAN;

DRAWTEXT(下跌=0,H2,'618'),COLORGRAY;

DRAWTEXT(下跌=0,H3,'中'),COLORYELLOW;

DRAWTEXT(下跌=0,H4,'382'),COLORLIRED;

DRAWTEXT(下跌=0,H5,'191'),COLORmaGENTA;

DRAWTEXT(上涨=0,H1,'风险'),COLORCYAN;

DRAWTEXT(上涨=0,H2,'高位'),COLORGRAY;

DRAWTEXT(上涨=0,H3,'中'),COLORYELLOW;

DRAWTEXT(上涨=0,H4,'低吸'),COLORLIRED;

DRAWTEXT(上涨=0 ,H5,'盘整'),COLORMAGENTA;

DRAWTEXT(上涨=0,低,'低'),COLORRED;

DRAWTEXT(上涨=5,H*1.02,'5'),COLOR00FFFF;

DRAWTEXT(上涨=8,H*1.02,'8'),COLOR00FFFF;

DRAWTEXT(上涨=13,H*1.02,'13'),COLOR00FFFF;

DRAWTEXT(上涨=21,H*1.02,'21'),COLOR00FFFF;

DRAWTEXT(上涨=34,H*1.02,'34'),COLOR00FFFF;

DRAWTEXT(上涨=55,H*1.02,'55'),COLOR00FFFF;

DRAWTEXT(上涨=89,H*1.02,'89'),COLOR00FFFF;

DRAWTEXT(上涨=144,H*1.02,'144'),COLOR00FFFF;

DRAWTEXT(上涨=180,H*1.02,'180'),COLOR00FFFF;

DRAWTEXT(上涨=250,H*1.02,'250'),COLOR00FFFF;

DRAWTEXT(下跌=5,L*0.98,'-5'),COLOR00FF00;

DRAWTEXT(下跌=8,L*0.98,'-8'),COLOR00FF00;

DRAWTEXT(下跌=13,L*0.98,'-13'),COLOR00FF00;

DRAWTEXT(下跌=21,L*0.98,'-21'),COLOR00FF00;

DRAWTEXT(下跌=34,L*0.98,'-34'),COLOR00FF00;

DRAWTEXT(下跌=55,L*0.98,'-55'),COLOR00FF00;

DRAWTEXT(下跌=89,L*0.98,'-89'),COLOR00FF00;

DRAWTEXT(下跌=144,L*0.98,'-144'),COLOR00FF00;

DRAWTEXT(下跌=180,L*0.98,'-180'),COLOR00FF00;

DRAWTEXT(下跌=250,L*0.98,'-250'),COLOR00FF00;

{3}C2:=REF(C,1);

跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);

涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(跌停,C,O,3.3,0),COLORBLUE;

STICKLINE(跌停,H,L,0,0),COLORBLUE;

STICKLINE(涨停,C,O,3.3,0),COLOR0077FF;

STICKLINE(涨停,C,O,2.8,0),COLOR0099FF;

STICKLINE(涨停,H,L,0,0),COLOR00FFFF;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道