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

通达信整合大盘和个股信息的VOL指标公式,通达信强势短线主图指标公式

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

    关注√

    牛市通网微信

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

通达信整合大盘和个股信息的VOL指标公式,通达信强势短线主图指标公式

通达信整合大盘和个股信息的VOL指标公式

X:=CONst(DATE);

Y:=IF(DATE

上证昨日额亿:REF("999999$AMOUNT",1)/100000000,NODRAW;

上证今日额亿:"999999$AMOUNT"/Y*240/100000000,NODRAW;

上证预计额比:"999999$AMOUNT"/Y*240/REF("999999$AMOUNT",1),NODRAW;

123456, COLORBLacK, NODRAW;

个股预计量万:vol/Y*240/10000,NODRAW;

预计量比:VOL/Y*240/REF(VOL,1),COLORYELLOW,NODRAW;

总交易日:=BARSCOUNT(CLOSE);

STICKLINE((VOL/Y*240)=CONST(LLV(VOL,60)),CONST(HHV(VOL,70)),(VOL/Y*240),2,0),COLORYELLOW;

STICKLINE((VOL/Y*240)=CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70)),0,0.5,0),COLOR006432;

DRAWTEXT((VOL/Y*240)=CONST(LLV(VOL,60)) AND (VOL/Y*240)>CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70))*0.7,'量底'),COLORYELLOW;

DRAWTEXT((VOL/Y*240)=CONST(LLV(VOL,60)) AND (VOL/Y*240)=CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70))*0.7,'绝对量底'),COLORYELLOW;

NOTEXTVOLUME:VOL,VOLSTICK;

NOTEXTVOL5:ma(VOL,5);

NOTEXTVOL10:MA(VOL,10);

{上证成交额直观描述}预计变化:=(上证预计额比-1)*100;

预计1:=CONST(IF(预计变化>=40,1,0));

预计2:=CONST(IF(预计变化>=30 AND 预计变化<40,1,0));

预计3:=CONST(IF(预计变化>=20 AND 预计变化<30,1,0));

预计4:=CONST(IF(预计变化>=10 AND 预计变化<20,1,0));

预计5:=CONST(IF(预计变化>=5 AND 预计变化<10,1,0));

预计6:=CONST(IF(Abs(预计变化)<5,1,0));

预计7:=CONST(IF(预计变化<=-5 AND 预计变化>-10,1,0));

预计8:=CONST(IF(预计变化<=-10 AND 预计变化>-20,1,0));

预计9:=CONST(IF(预计变化<=-20 AND 预计变化>-30,1,0));

预计10:=CONST(IF(预计变化<=-30 AND 预计变化>-40,1,0));

预计11:=CONST(IF(预计变化<=-40,1,0));

位置1:=PERIOD=5 AND CURRBARSCOUNT=34;

DRAWTEXT(预计1=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘猛烈放量40%以上'), COLORFF00FF;

DRAWTEXT(预计2=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘大幅放量30-40%'), COLORFF00FF;

DRAWTEXT(预计3=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘放量20-30%'), COLORFF00FF;

DRAWTEXT(预计4=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘放量10-20%'), COLORFF00FF;

DRAWTEXT(预计5=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘轻微放量5-10%'), COLORFF00FF;

DRAWTEXT(预计6=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘成交额小幅波动±5%'), COLORFF00FF;

DRAWTEXT(预计7=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘轻微缩量5-10%'), COLORFF00FF;

DRAWTEXT(预计8=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘缩量10-20%'), COLORFF00FF;

DRAWTEXT(预计9=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘缩量20-30%'), COLORFF00FF;

DRAWTEXT(预计10=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘大幅缩量30-40%'), COLORFF00FF;

DRAWTEXT(预计11=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘猛烈缩量40%以上'), COLORFF00FF;

{大盘kdj,rsi超跌,牛熊市都能用}上证J超跌:=CONST(IF("999999$kdJ.J"<=5,1,0));

上证R超跌:=CONST(IF("999999$RSI.RSI1"<=20,1,0));

DRAWTEXT(上证J超跌=1 AND 上证R超跌=0 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证KDJ超跌(小于5),有反弹预期');

DRAWTEXT(上证J超跌=0 AND 上证R超跌=1 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证RSI超跌(小于20),有反弹预期');

DRAWTEXT(上证J超跌=1 AND 上证R超跌=1 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证KDJ-RSI都超跌(小于5或20)');

通达信强势短线主图指标公式

N:=102;

M:=7;

AA:=ma((2*CLOSE+HIGH+LOW)/4,5);

通道1:AA*N/100;

通道2:AA*(200-N)/100;

CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

DD:=dma(CLOSE,CC);

通道3:(1+M/100)*DD;

通道4:(1-M/100)*DD;

V2:=IF(CURRBARSCOUNT=1,vol*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);

stICKLINE(V2>=1,O,C,2,0),COLORYELLOW;

MA13:=MA(CLOSE,13);

X1:=(C+L+H)/3;

BB13:=ATAN(ema(X1,13)-REF(EMA(X1,13),1))*3.1416*10;

EMA8:=EMA(C,8);

A1:=MIN(O,C);

B1:=ABS(O-C);

T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);

STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;

STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;

STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;

STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;

TYP:=(HIGH+LOW+CLOSE)/3;

NCC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

NC1:=SMA(NCC1,3,1);

NC2:=SMA(NC1,3,1);

NC3:=3*NC1-2*NC2;

CB1:=EMA(NC3,5);

CB2:=REF(CB1,1);

LC := REF(CLOSE,1);

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

RSI:=(RSI1-50)*5,LINETHICK2,COLORYELLOW;

NR1:=SMA(RSI,3,1);

ND1:=SMA(NR1,3,1);

NJ1:=3*NR1-2*ND1;

RR1:=EMA(NJ1,5);

RR2:=REF(RR1,1);

RR:=RR1>RR2;

RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

NK:=SMA(RSVQ,3,1);

NK1:=(NK-50)*5,COLORRED;

NK2:=SMA(NK1,3,1);

ND2:=SMA(NK2,3,1);

NJ2:=3*NK2-2*ND2;

NBB1:=EMA(NJ2,5);

NBB2:=REF(NBB1,1);

买N入:=RR AND NOT(REF(RR,1)) AND (NBB1<-100 AND NBB1<-100) AND CB1<-100;

DRAWICON(买N入,L-0.2,13);

卖N出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100,LINETHICK0;

DRAWICON(卖N出,H+0.2,14);

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

XG:=crOSS(QS,10);

DRAWICON(XG,L*0.98,9);

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

责任编辑:admin888 标签:通达信整合大盘和个股信息的VOL指标公式,通达信强势短线主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信整合大盘和个股信息的VOL指标公式,通达信强势短线主图指标公式

admin888

|

通达信整合大盘和个股信息的VOL指标公式,通达信强势短线主图指标公式

通达信整合大盘和个股信息的VOL指标公式

X:=CONst(DATE);

Y:=IF(DATE

上证昨日额亿:REF("999999$AMOUNT",1)/100000000,NODRAW;

上证今日额亿:"999999$AMOUNT"/Y*240/100000000,NODRAW;

上证预计额比:"999999$AMOUNT"/Y*240/REF("999999$AMOUNT",1),NODRAW;

123456, COLORBLacK, NODRAW;

个股预计量万:vol/Y*240/10000,NODRAW;

预计量比:VOL/Y*240/REF(VOL,1),COLORYELLOW,NODRAW;

总交易日:=BARSCOUNT(CLOSE);

STICKLINE((VOL/Y*240)=CONST(LLV(VOL,60)),CONST(HHV(VOL,70)),(VOL/Y*240),2,0),COLORYELLOW;

STICKLINE((VOL/Y*240)=CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70)),0,0.5,0),COLOR006432;

DRAWTEXT((VOL/Y*240)=CONST(LLV(VOL,60)) AND (VOL/Y*240)>CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70))*0.7,'量底'),COLORYELLOW;

DRAWTEXT((VOL/Y*240)=CONST(LLV(VOL,60)) AND (VOL/Y*240)=CONST(LLV(VOL,总交易日)),CONST(HHV(VOL,70))*0.7,'绝对量底'),COLORYELLOW;

NOTEXTVOLUME:VOL,VOLSTICK;

NOTEXTVOL5:ma(VOL,5);

NOTEXTVOL10:MA(VOL,10);

{上证成交额直观描述}预计变化:=(上证预计额比-1)*100;

预计1:=CONST(IF(预计变化>=40,1,0));

预计2:=CONST(IF(预计变化>=30 AND 预计变化<40,1,0));

预计3:=CONST(IF(预计变化>=20 AND 预计变化<30,1,0));

预计4:=CONST(IF(预计变化>=10 AND 预计变化<20,1,0));

预计5:=CONST(IF(预计变化>=5 AND 预计变化<10,1,0));

预计6:=CONST(IF(Abs(预计变化)<5,1,0));

预计7:=CONST(IF(预计变化<=-5 AND 预计变化>-10,1,0));

预计8:=CONST(IF(预计变化<=-10 AND 预计变化>-20,1,0));

预计9:=CONST(IF(预计变化<=-20 AND 预计变化>-30,1,0));

预计10:=CONST(IF(预计变化<=-30 AND 预计变化>-40,1,0));

预计11:=CONST(IF(预计变化<=-40,1,0));

位置1:=PERIOD=5 AND CURRBARSCOUNT=34;

DRAWTEXT(预计1=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘猛烈放量40%以上'), COLORFF00FF;

DRAWTEXT(预计2=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘大幅放量30-40%'), COLORFF00FF;

DRAWTEXT(预计3=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘放量20-30%'), COLORFF00FF;

DRAWTEXT(预计4=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘放量10-20%'), COLORFF00FF;

DRAWTEXT(预计5=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘轻微放量5-10%'), COLORFF00FF;

DRAWTEXT(预计6=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘成交额小幅波动±5%'), COLORFF00FF;

DRAWTEXT(预计7=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘轻微缩量5-10%'), COLORFF00FF;

DRAWTEXT(预计8=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘缩量10-20%'), COLORFF00FF;

DRAWTEXT(预计9=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘缩量20-30%'), COLORFF00FF;

DRAWTEXT(预计10=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘大幅缩量30-40%'), COLORFF00FF;

DRAWTEXT(预计11=1 AND 位置1, CONST(HHV(NOTEXTVOLUME,70))*0.88, '大盘猛烈缩量40%以上'), COLORFF00FF;

{大盘kdj,rsi超跌,牛熊市都能用}上证J超跌:=CONST(IF("999999$kdJ.J"<=5,1,0));

上证R超跌:=CONST(IF("999999$RSI.RSI1"<=20,1,0));

DRAWTEXT(上证J超跌=1 AND 上证R超跌=0 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证KDJ超跌(小于5),有反弹预期');

DRAWTEXT(上证J超跌=0 AND 上证R超跌=1 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证RSI超跌(小于20),有反弹预期');

DRAWTEXT(上证J超跌=1 AND 上证R超跌=1 AND CURRBARSCOUNT=15, CONST(HHV(NOTEXTVOLUME,70))*0.6, '上证KDJ-RSI都超跌(小于5或20)');

通达信强势短线主图指标公式

N:=102;

M:=7;

AA:=ma((2*CLOSE+HIGH+LOW)/4,5);

通道1:AA*N/100;

通道2:AA*(200-N)/100;

CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

DD:=dma(CLOSE,CC);

通道3:(1+M/100)*DD;

通道4:(1-M/100)*DD;

V2:=IF(CURRBARSCOUNT=1,vol*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);

stICKLINE(V2>=1,O,C,2,0),COLORYELLOW;

MA13:=MA(CLOSE,13);

X1:=(C+L+H)/3;

BB13:=ATAN(ema(X1,13)-REF(EMA(X1,13),1))*3.1416*10;

EMA8:=EMA(C,8);

A1:=MIN(O,C);

B1:=ABS(O-C);

T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);

STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;

STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;

STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;

STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;

TYP:=(HIGH+LOW+CLOSE)/3;

NCC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

NC1:=SMA(NCC1,3,1);

NC2:=SMA(NC1,3,1);

NC3:=3*NC1-2*NC2;

CB1:=EMA(NC3,5);

CB2:=REF(CB1,1);

LC := REF(CLOSE,1);

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

RSI:=(RSI1-50)*5,LINETHICK2,COLORYELLOW;

NR1:=SMA(RSI,3,1);

ND1:=SMA(NR1,3,1);

NJ1:=3*NR1-2*ND1;

RR1:=EMA(NJ1,5);

RR2:=REF(RR1,1);

RR:=RR1>RR2;

RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

NK:=SMA(RSVQ,3,1);

NK1:=(NK-50)*5,COLORRED;

NK2:=SMA(NK1,3,1);

ND2:=SMA(NK2,3,1);

NJ2:=3*NK2-2*ND2;

NBB1:=EMA(NJ2,5);

NBB2:=REF(NBB1,1);

买N入:=RR AND NOT(REF(RR,1)) AND (NBB1<-100 AND NBB1<-100) AND CB1<-100;

DRAWICON(买N入,L-0.2,13);

卖N出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100,LINETHICK0;

DRAWICON(卖N出,H+0.2,14);

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

XG:=crOSS(QS,10);

DRAWICON(XG,L*0.98,9);

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


财经频道