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

通达信心电波指标公式,通达信牛线箱主图指标公式

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

    关注√

    牛市通网微信

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

通达信心电波指标公式,通达信牛线箱主图指标公式

通达信心电波指标公式

LC := REF(-CLOSE,1);

rsi2:=SMA(MAX(-CLOSE-LC,0),12,1)/SMA(Abs(-CLOSE-LC),12,1)*100;

LS8:=POW(RSI2,8);

LS12:POW(RSI2,12),COLORFFCC00,LINETHICK2;

通达信牛线箱主图指标公式

{箱顶底}

AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);

BA:=EMA(AB,5);

A18:=REFDATE(REF(HHV(H,96),5),DATE);{高}

B1:=REFDATE(REF(LLV(L,96),5),DATE);{低}

DY:=((A18)+(B1))/2;{中}

顶:IF(AB>0 AND AB-BA<=0,A18,A18),DOTLINE,COLORCYAN;

腰:IF(AB>0 AND AB-BA<=0,DY,DY),DOTLINE,COLORCYAN;

底:IF(AB>0 AND AB-BA<=0,B1,B1),DOTLINE,COLORCYAN;

MC:=C#MONTH,NODRAW;

MO1:=IF(DAY

MO:=HHV(MO1,DAY),NODRAW;

stICKLINE(MC>=MO,MO,MC,4,-1)COLOR00009C;

STICKLINE(MC

AQ:=O#WEEK;B:=C#WEEK;

AAQ:=H#WEEK;BB:=L#WEEK;

STICKLINE(B>=AQ,AAQ,BB,4,0),COLOR00006B;

STICKLINE(B

{猎击止损}

P:=9;

WH1:=IF(L=LLV(L,P),L,DRAWNULL);

WH2:=CONST(BArslAST(WH1!=DRAWNULL));

WH3:=CONST(IF(WH2=0,H,REF(H,WH2)));

WH4:=CONST(REF(BARSLAST(H>WH3),WH2+1)+WH2+1);

WH5:=CONST(IF(WH4=0,H,REF(H,WH4)));

WH6:=CONST(REF(BARSLAST(H>WH5),WH4+1)+WH4+1);

赢:IF(CURRBARSCOUNT<=WH2+10,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL),COLORMAGENTA,LINETHICK2;

DRAWTEXT(ISLASTBAR,赢,' YW'),COLORMAGENTA;

H1:=IF(H=HHV(H,P),H,DRAWNULL);

H2:=CONST(BARSLAST(H1!=DRAWNULL));

H3:=CONST(IF(H2=0,L,REF(L,H2)));

H4:=CONST(REF(BARSLAST(L

H5:=CONST(IF(H4=0,L,REF(L,H4)));

H6:=CONST(REF(BARSLAST(L

损:IF(CURRBARSCOUNT<=H2+10,CONST(IF(H6=0,L,REF(L,H6))),DRAWNULL),COLORGREEN,LINETHICK2;

DRAWTEXT(ISLASTBAR,损,' SW'),COLORGREEN;

{九线}

VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

A1:(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4,COLOR0044BB;

A2:EMA(A1,2),COLOR3355BB;

A3:EMA(A2,2),COLOR4455BB;

A4:EMA(A3,2),COLOR5555BB;

A5:EMA(A4,2),COLOR6655BB;

A6:EMA(A5,2),COLOR7755BB;

A7:EMA(A6,2),COLOR8855BB;

{k线}

DRAWKLINE(H,O,L,C);

STICKLINE(C>=O,C,O,3,0),COLOR1F1ac5;

STICKLINE(C>=O,C,O,1.3,0),COLOR1F1AD5;

STICKLINE(C>=O,C,O,0,0),COLOR1F1AF5;

STICKLINE(C

STICKLINE(C

STICKLINE(C

A8:EMA(VAR1,2.78)*1.028,COLORWHITE,LINETHICK1;

A9:MA(OPEN,3.2)*1.028,COLORYELLOW,LINETHICK1;

{涨停显示}

C6:=REF(C,1);

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

STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;

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

{高位}

VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;

VAR3:=MA(CLOSE,20)+2*STD(CLOSE,20);

DRAWTEXT(crOSS(VAR2,VAR3),HIGH*1.045,'↓高'),COLORCYAN;

{逃顶}

VAR7:=REF(C,1);

VAR8:=SMA(MAX(C-VAR7,0),6,1)/SMA(Abs(C-VAR7),6,1)*100;

DRAWTEXT(CROSS(82,VAR8),H*1.025,'↓逃'),COLORCYAN;

{kdj金叉}

VAR4:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR5:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR6:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

DRAWICON(CROSS(VAR5,MA(VAR6,6)),(LOW - (LOW*0.015)),38);

DRAWICON(CROSS(MA(VAR6,6),VAR4),(HIGH+(HIGH*0.015)),39);

STICKLINE(CROSS("kdJ.K"(3,5,3),"KDJ.D"(3,5,3)),O,C,0.6,0),COLORYELLOW;

STICKLINE(CROSS("KDJ.D"(3,5,3),"KDJ.K"(3,5,3)),O,C,0.6,0),COLORBLUE;

{黑马}

VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);

VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);

DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.95),'★马'),COLORMAGENTA;

DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.97),'★加'),COLORMAGENTA;

{主力进场}

VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);

VAR10:=SMA(VAR9,3,1);

VAR11:=SMA(VAR10,3,1);

VAR12:=SMA(VAR11,3,1);

主力出现:DRAWICON(CROSS(VAR11,VAR12) AND (VAR11<40),L*0.98,23);

{突破追涨}

A10:=HHV(H,73);

A11:=LLV(L,73);

M1:=MA(C,13);

M2:=MA(C,36);

M3:=MA(C,73);

K1:=(0.618*A10+0.382*A11),COLORGREEN;

K2:=(0.5*A10+0.5*A11),COLORGREEN;

K3:=(0.382*A10+0.618*A11),COLORGREEN;

K4:=(0.191*A10+0.809*A11),COLORRED;

K5:=(0.809*A10+0.191*A11),COLORRED;

牛:=V=HHV(V,64) AND V>REF(V,1)*1.5;

单阳:=C AND 牛;

单阳收:=C;

单阳开:=O;

高不破价:=REF(C,BARSLAST(单阳));

前高:=HHV(高不破价,13);

STICKLINE(前高,高不破价,高不破价,5,0)DOTLINE,COLORBLUE;

突破:=CROSS(C,前高) AND C>MA(C,36) AND (C-O)/O>0.030 AND MA(C,13)>REF(MA(C,13),1) AND C>K5;

DRAWTEXT(CROSS(C,前高) AND C>MA(C,36) AND (C-O)/O>0.035 AND MA(C,13)>REF(MA(C,13),1) AND MA(C,36)>REF(MA(C,36),1) ,L*1.00,'☆突') ,COLORMAGENTA;

DRAWTEXT(单阳 >REF(单阳,1) AND (C-O)/O>0.0455,L*1.00,'★追') ,COLORMAGENTA;

{行业}

所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.05,0.01,1,DYBLOCK),COLORYELLOW;

所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,0,HYBLOCK),COLORYELLOW;

低:IF(CURRBARSCOUNT<=WH2+1,IF(L=LLV(L,P),L*0.98,DRAWNULL),DRAWNULL),COLORRED,CIRCLEDOT,LINETHICK6;

高:IF(CURRBARSCOUNT<=H2+1,IF(H=HHV(H,P),H*1.012,DRAWNULL),DRAWNULL),COLORGREEN,CIRCLEDOT,LINETHICK6;

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

责任编辑:admin888 标签:通达信心电波指标公式,通达信牛线箱主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信心电波指标公式,通达信牛线箱主图指标公式

admin888

|

通达信心电波指标公式,通达信牛线箱主图指标公式

通达信心电波指标公式

LC := REF(-CLOSE,1);

rsi2:=SMA(MAX(-CLOSE-LC,0),12,1)/SMA(Abs(-CLOSE-LC),12,1)*100;

LS8:=POW(RSI2,8);

LS12:POW(RSI2,12),COLORFFCC00,LINETHICK2;

通达信牛线箱主图指标公式

{箱顶底}

AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);

BA:=EMA(AB,5);

A18:=REFDATE(REF(HHV(H,96),5),DATE);{高}

B1:=REFDATE(REF(LLV(L,96),5),DATE);{低}

DY:=((A18)+(B1))/2;{中}

顶:IF(AB>0 AND AB-BA<=0,A18,A18),DOTLINE,COLORCYAN;

腰:IF(AB>0 AND AB-BA<=0,DY,DY),DOTLINE,COLORCYAN;

底:IF(AB>0 AND AB-BA<=0,B1,B1),DOTLINE,COLORCYAN;

MC:=C#MONTH,NODRAW;

MO1:=IF(DAY

MO:=HHV(MO1,DAY),NODRAW;

stICKLINE(MC>=MO,MO,MC,4,-1)COLOR00009C;

STICKLINE(MC

AQ:=O#WEEK;B:=C#WEEK;

AAQ:=H#WEEK;BB:=L#WEEK;

STICKLINE(B>=AQ,AAQ,BB,4,0),COLOR00006B;

STICKLINE(B

{猎击止损}

P:=9;

WH1:=IF(L=LLV(L,P),L,DRAWNULL);

WH2:=CONST(BArslAST(WH1!=DRAWNULL));

WH3:=CONST(IF(WH2=0,H,REF(H,WH2)));

WH4:=CONST(REF(BARSLAST(H>WH3),WH2+1)+WH2+1);

WH5:=CONST(IF(WH4=0,H,REF(H,WH4)));

WH6:=CONST(REF(BARSLAST(H>WH5),WH4+1)+WH4+1);

赢:IF(CURRBARSCOUNT<=WH2+10,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL),COLORMAGENTA,LINETHICK2;

DRAWTEXT(ISLASTBAR,赢,' YW'),COLORMAGENTA;

H1:=IF(H=HHV(H,P),H,DRAWNULL);

H2:=CONST(BARSLAST(H1!=DRAWNULL));

H3:=CONST(IF(H2=0,L,REF(L,H2)));

H4:=CONST(REF(BARSLAST(L

H5:=CONST(IF(H4=0,L,REF(L,H4)));

H6:=CONST(REF(BARSLAST(L

损:IF(CURRBARSCOUNT<=H2+10,CONST(IF(H6=0,L,REF(L,H6))),DRAWNULL),COLORGREEN,LINETHICK2;

DRAWTEXT(ISLASTBAR,损,' SW'),COLORGREEN;

{九线}

VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

A1:(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4,COLOR0044BB;

A2:EMA(A1,2),COLOR3355BB;

A3:EMA(A2,2),COLOR4455BB;

A4:EMA(A3,2),COLOR5555BB;

A5:EMA(A4,2),COLOR6655BB;

A6:EMA(A5,2),COLOR7755BB;

A7:EMA(A6,2),COLOR8855BB;

{k线}

DRAWKLINE(H,O,L,C);

STICKLINE(C>=O,C,O,3,0),COLOR1F1ac5;

STICKLINE(C>=O,C,O,1.3,0),COLOR1F1AD5;

STICKLINE(C>=O,C,O,0,0),COLOR1F1AF5;

STICKLINE(C

STICKLINE(C

STICKLINE(C

A8:EMA(VAR1,2.78)*1.028,COLORWHITE,LINETHICK1;

A9:MA(OPEN,3.2)*1.028,COLORYELLOW,LINETHICK1;

{涨停显示}

C6:=REF(C,1);

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

STICKLINE(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;

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

{高位}

VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;

VAR3:=MA(CLOSE,20)+2*STD(CLOSE,20);

DRAWTEXT(crOSS(VAR2,VAR3),HIGH*1.045,'↓高'),COLORCYAN;

{逃顶}

VAR7:=REF(C,1);

VAR8:=SMA(MAX(C-VAR7,0),6,1)/SMA(Abs(C-VAR7),6,1)*100;

DRAWTEXT(CROSS(82,VAR8),H*1.025,'↓逃'),COLORCYAN;

{kdj金叉}

VAR4:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR5:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR6:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

DRAWICON(CROSS(VAR5,MA(VAR6,6)),(LOW - (LOW*0.015)),38);

DRAWICON(CROSS(MA(VAR6,6),VAR4),(HIGH+(HIGH*0.015)),39);

STICKLINE(CROSS("kdJ.K"(3,5,3),"KDJ.D"(3,5,3)),O,C,0.6,0),COLORYELLOW;

STICKLINE(CROSS("KDJ.D"(3,5,3),"KDJ.K"(3,5,3)),O,C,0.6,0),COLORBLUE;

{黑马}

VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);

VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);

DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.95),'★马'),COLORMAGENTA;

DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.97),'★加'),COLORMAGENTA;

{主力进场}

VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);

VAR10:=SMA(VAR9,3,1);

VAR11:=SMA(VAR10,3,1);

VAR12:=SMA(VAR11,3,1);

主力出现:DRAWICON(CROSS(VAR11,VAR12) AND (VAR11<40),L*0.98,23);

{突破追涨}

A10:=HHV(H,73);

A11:=LLV(L,73);

M1:=MA(C,13);

M2:=MA(C,36);

M3:=MA(C,73);

K1:=(0.618*A10+0.382*A11),COLORGREEN;

K2:=(0.5*A10+0.5*A11),COLORGREEN;

K3:=(0.382*A10+0.618*A11),COLORGREEN;

K4:=(0.191*A10+0.809*A11),COLORRED;

K5:=(0.809*A10+0.191*A11),COLORRED;

牛:=V=HHV(V,64) AND V>REF(V,1)*1.5;

单阳:=C AND 牛;

单阳收:=C;

单阳开:=O;

高不破价:=REF(C,BARSLAST(单阳));

前高:=HHV(高不破价,13);

STICKLINE(前高,高不破价,高不破价,5,0)DOTLINE,COLORBLUE;

突破:=CROSS(C,前高) AND C>MA(C,36) AND (C-O)/O>0.030 AND MA(C,13)>REF(MA(C,13),1) AND C>K5;

DRAWTEXT(CROSS(C,前高) AND C>MA(C,36) AND (C-O)/O>0.035 AND MA(C,13)>REF(MA(C,13),1) AND MA(C,36)>REF(MA(C,36),1) ,L*1.00,'☆突') ,COLORMAGENTA;

DRAWTEXT(单阳 >REF(单阳,1) AND (C-O)/O>0.0455,L*1.00,'★追') ,COLORMAGENTA;

{行业}

所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.05,0.01,1,DYBLOCK),COLORYELLOW;

所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.06,0.01,0,HYBLOCK),COLORYELLOW;

低:IF(CURRBARSCOUNT<=WH2+1,IF(L=LLV(L,P),L*0.98,DRAWNULL),DRAWNULL),COLORRED,CIRCLEDOT,LINETHICK6;

高:IF(CURRBARSCOUNT<=H2+1,IF(H=HHV(H,P),H*1.012,DRAWNULL),DRAWNULL),COLORGREEN,CIRCLEDOT,LINETHICK6;

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


财经频道