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

通达信能量多空指标公式,通达信日BS指标公式

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

    关注√

    牛市通网微信

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

通达信能量多空指标公式,通达信日BS指标公式

通达信能量多空指标公式

VAR1:=(vol/ (((HIGH - LOW) * 2) - Abs((CLOSE - OPEN))));

成交:=VOL;

买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));

卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));

买卖差:=(买盘 + 卖盘);

量比1:=(VOL /ma(VOL,5));

VAR10:=买盘;

VAR20:=卖盘;

JX1:=BARSSINCE(买盘);

JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);

JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);

VAR30:=MA(VOL,JY2);

神:=买盘;

鬼力:=VAR20;

神比:=(动神 / VAR30);

鬼比:=(鬼力 / VAR30);

VAR2:=(HIGH - LOW);

VAR3:=ABS((OPEN - CLOSE));

VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

VAR6:=((VAR3 / VAR2) * VOL);

VAR7:=((VAR4 / VAR2) * VOL);

VAR8:=((VAR5 / VAR2) * VOL);

VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

VARD:=REF(CLOSE,1);

VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);

VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);

VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,动神) + 动神) / 2);

VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,动神) + 动神) / 2);

VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);

三日上攻:MA((((VAR40 + VAR41) + VAR42) / 3),JY2),NODRAW;

三日下攻:MA(VAR50,JY2),NODRAW;

多头:stICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;

空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),COLOR00FF00;

STICKLINE((鬼力 > 0),鬼力,0,4,0),COLORFF3399;

加仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,2.5,0),COLOR00FFFF;

减仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,2.5,0),COLORFF0000;

洗盘:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,2.5,0),COLORFFFFFF;

高卖:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,2.5,0),COLORFF00FF;

相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);

STICKLINE((买卖差 > 0),0,买卖差,1,0),COLOR0000FF;

STICKLINE((买卖差 < 0),0,买卖差,2,0),COLOR33FF33;

通达信日BS指标公式

N:=5;

A0:=(L+H+C*2)/4;

A1:=ema(A0,N);

A1X:=(A1-REF(A1,1))/REF(A1,1)*100;

{多头买入}买:IF(A1X>=0 AND REF(A1X,1)<0,1,0),COLOR0000FF,stICK,LINETHICK5;

DRAWTEXT(买>0,1.5,'买'),COLORFFFFFF;

{多头卖出}卖:IF(A1X<0 AND REF(A1X,1)>=0 ,1,0),COLORDCC705,STICK,LINETHICK5;

DRAWTEXT(卖>0,1.2,'卖'),COLORFFFFFF;

dif1:=Ema(DCLOSE,12)-EMA(DCLOSE,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*2*60;

不贪:crOSS(AAA1-REF(AAA1,1),5),COLOR8080FF,STICK,LINETHICK3;

DRAWTEXT(不贪>0,1.9,'不贪'),COLORFFFFFF;

J1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)),5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)),5,1),3,1);

底买:CROSS(J1,-0.02) OR CROSS(J1,0.03),COLOR00F0F0,STICK,LINETHICK6;

DRAWTEXT(底买>0,1.3,'底买'),COLORFFFFFF;

LC:=REF(CLOSE,1);

rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;底:CROSS(RSI1,25),COLOR00F0F0,STICK,LINETHICK6;

DRAWTEXT(底>0,1.3,'底'),COLORFFFFFF;

kdj_K:="kdJ.K"(9,3,3);

KDJ_D:="KDJ.D"(9,3,3);

KDJ_J:="KDJ.J"(9,3,3);

买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26);

买2:=CROSS("RSI.RSI1"(6,2,2),20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));

买3:=CROSS("macd.DIF","MacD.DEA") OR CROSS("MACD.MACD",0);

买0:=买1+买2+买3;

底背买:IF(买0>1,买0,0),COLOR28FFFF,STICK,LINETHICK1;

DRAWTEXT(底背买>0,1.7,'底背买'),COLORFFFFFF;

D1:=(L+H+C*2)/4;

D2:= MA(D1,4);

D3:=HHV(D2,10);

D4:=MA(D3,3);

D5:=1.25*D4-0.25*D3;

A:=IF(D5>D3,D3,D5);

F1:=LLV(D2,10);

F2:=MA(F1,3);

F3:=1.25*F2-0.25*F1;

B:=IF(F3

MA13:=MA(C,13);

擎天买:CROSS(C,B) AND CROSS(C,MA13) AND CROSS(C,A),COLOR0000FF,STICK,LINETHICK5;

DRAWTEXT(擎天买>0,0.7,'擎天买'),COLORFFFFFF;

VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;

VAR2:=8,COLORGREEN,LINETHICK0;

V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

操盘线:=SMA(V3,2,1);

V5:=SMA(操盘线,2,1);

抄底:IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)

DRAWTEXT(抄底>0,0.5,'抄底'),COLORFFFFFF;

RSV:=(C-LLV(LOW,9))/(HHV(H,9)-LLV(L,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

VA:=(2*C+H+L)/4;

VB:=LLV(L,5);

VC:=HHV(H,5);

HX:=EMA((VA-VB)/(VC-VB)*100,5);

LX:=EMA(HX,3);

乖离买:CROSS(K,D) AND CROSS(HX,LX),COLOR00FFFF,STICK,LINETHICK5;

DRAWTEXT(乖离买>0,1.5,'乖离买'),COLORFFFFFF;

N1:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));

短线持股:C>=MA(C,N1),COLOR0000FF;

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

责任编辑:admin888 标签:通达信能量多空指标公式,通达信日BS指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信能量多空指标公式,通达信日BS指标公式

admin888

|

通达信能量多空指标公式,通达信日BS指标公式

通达信能量多空指标公式

VAR1:=(vol/ (((HIGH - LOW) * 2) - Abs((CLOSE - OPEN))));

成交:=VOL;

买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));

卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));

买卖差:=(买盘 + 卖盘);

量比1:=(VOL /ma(VOL,5));

VAR10:=买盘;

VAR20:=卖盘;

JX1:=BARSSINCE(买盘);

JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);

JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);

VAR30:=MA(VOL,JY2);

神:=买盘;

鬼力:=VAR20;

神比:=(动神 / VAR30);

鬼比:=(鬼力 / VAR30);

VAR2:=(HIGH - LOW);

VAR3:=ABS((OPEN - CLOSE));

VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

VAR6:=((VAR3 / VAR2) * VOL);

VAR7:=((VAR4 / VAR2) * VOL);

VAR8:=((VAR5 / VAR2) * VOL);

VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

VARD:=REF(CLOSE,1);

VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);

VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);

VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,动神) + 动神) / 2);

VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,动神) + 动神) / 2);

VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);

三日上攻:MA((((VAR40 + VAR41) + VAR42) / 3),JY2),NODRAW;

三日下攻:MA(VAR50,JY2),NODRAW;

多头:stICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;

空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),COLOR00FF00;

STICKLINE((鬼力 > 0),鬼力,0,4,0),COLORFF3399;

加仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,2.5,0),COLOR00FFFF;

减仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,2.5,0),COLORFF0000;

洗盘:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,2.5,0),COLORFFFFFF;

高卖:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,2.5,0),COLORFF00FF;

相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);

STICKLINE((买卖差 > 0),0,买卖差,1,0),COLOR0000FF;

STICKLINE((买卖差 < 0),0,买卖差,2,0),COLOR33FF33;

通达信日BS指标公式

N:=5;

A0:=(L+H+C*2)/4;

A1:=ema(A0,N);

A1X:=(A1-REF(A1,1))/REF(A1,1)*100;

{多头买入}买:IF(A1X>=0 AND REF(A1X,1)<0,1,0),COLOR0000FF,stICK,LINETHICK5;

DRAWTEXT(买>0,1.5,'买'),COLORFFFFFF;

{多头卖出}卖:IF(A1X<0 AND REF(A1X,1)>=0 ,1,0),COLORDCC705,STICK,LINETHICK5;

DRAWTEXT(卖>0,1.2,'卖'),COLORFFFFFF;

dif1:=Ema(DCLOSE,12)-EMA(DCLOSE,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*2*60;

不贪:crOSS(AAA1-REF(AAA1,1),5),COLOR8080FF,STICK,LINETHICK3;

DRAWTEXT(不贪>0,1.9,'不贪'),COLORFFFFFF;

J1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)),5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)),5,1),3,1);

底买:CROSS(J1,-0.02) OR CROSS(J1,0.03),COLOR00F0F0,STICK,LINETHICK6;

DRAWTEXT(底买>0,1.3,'底买'),COLORFFFFFF;

LC:=REF(CLOSE,1);

rsi1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;底:CROSS(RSI1,25),COLOR00F0F0,STICK,LINETHICK6;

DRAWTEXT(底>0,1.3,'底'),COLORFFFFFF;

kdj_K:="kdJ.K"(9,3,3);

KDJ_D:="KDJ.D"(9,3,3);

KDJ_J:="KDJ.J"(9,3,3);

买1:=CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26);

买2:=CROSS("RSI.RSI1"(6,2,2),20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));

买3:=CROSS("macd.DIF","MacD.DEA") OR CROSS("MACD.MACD",0);

买0:=买1+买2+买3;

底背买:IF(买0>1,买0,0),COLOR28FFFF,STICK,LINETHICK1;

DRAWTEXT(底背买>0,1.7,'底背买'),COLORFFFFFF;

D1:=(L+H+C*2)/4;

D2:= MA(D1,4);

D3:=HHV(D2,10);

D4:=MA(D3,3);

D5:=1.25*D4-0.25*D3;

A:=IF(D5>D3,D3,D5);

F1:=LLV(D2,10);

F2:=MA(F1,3);

F3:=1.25*F2-0.25*F1;

B:=IF(F3

MA13:=MA(C,13);

擎天买:CROSS(C,B) AND CROSS(C,MA13) AND CROSS(C,A),COLOR0000FF,STICK,LINETHICK5;

DRAWTEXT(擎天买>0,0.7,'擎天买'),COLORFFFFFF;

VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;

VAR2:=8,COLORGREEN,LINETHICK0;

V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

操盘线:=SMA(V3,2,1);

V5:=SMA(操盘线,2,1);

抄底:IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)

DRAWTEXT(抄底>0,0.5,'抄底'),COLORFFFFFF;

RSV:=(C-LLV(LOW,9))/(HHV(H,9)-LLV(L,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

VA:=(2*C+H+L)/4;

VB:=LLV(L,5);

VC:=HHV(H,5);

HX:=EMA((VA-VB)/(VC-VB)*100,5);

LX:=EMA(HX,3);

乖离买:CROSS(K,D) AND CROSS(HX,LX),COLOR00FFFF,STICK,LINETHICK5;

DRAWTEXT(乖离买>0,1.5,'乖离买'),COLORFFFFFF;

N1:=IF(BARSCOUNT(C)>=10,10,BARSCOUNT(C));

短线持股:C>=MA(C,N1),COLOR0000FF;

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


财经频道