b2c信息网

您现在的位置是:首页 > 热点问题 > 正文

热点问题

同花顺分时买卖力道委卖指标源码(同花顺买卖力道)

hacker2022-10-06 20:45:16热点问题97
本文目录一览:1、你有通达信买卖力道的源码嘛?2、

本文目录一览:

你有通达信买卖力道的源码嘛?

通达信分时买卖力道指标公式股票软件源码如下:

A1:=(VOL/CLOSE)/3;

A2:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A3:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A4:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A5:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A6:=((A2+A3)+A4)+A5;

A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);

A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));

A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));

A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));

机构买盘:(A2),LINETHICK0;

机构卖盘:(A3),LINETHICK0;

散户买盘:(A4),LINETHICK0;

散户卖盘:(A5),LINETHICK0;

STICKLINE(机构买盘0 AND 机构买盘=机构卖盘 AND 机构买盘=REF(机构买盘,1),20,20+100,1,0),COLORRED;

STICKLINE(机构卖盘0 AND 机构卖盘=机构买盘 AND 机构卖盘=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;

STICKLINE(散户买盘0 AND 散户买盘=散户卖盘 AND 散户买盘=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;

STICKLINE(散户卖盘0 AND 散户卖盘=散户买盘 AND 散户卖盘=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;

VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;

买卖力道: SMA(VAR2,3,1),COLORLIGRAY;

VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

VAR4:=(IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));

VAR5:=AMOUNT/(100*VOL);

VAR6:=MA(VAR5,40);

VAR7:=100*(CLOSE-VAR6)/VAR6;

底部追击:= IF(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,300,200),COLORGREEN;

STICKLINE(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,1200,200,10,0) , COLORGREEN;

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

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

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

D: SMA(VARA,5,1)*20, COLORCYAN;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势线:= EMA(V11,3);

V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;

BB:(趋势线=13 AND V1213) AND FILTER((趋势线=13 AND V1213),10);

买入股票:= (趋势线=13 AND V1213),COLORRED;

CCC:=(趋势线=90 AND V12) AND FILTER((趋势线=90 AND V12),10);

清仓:=FILTER(趋势线=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;

卖出区: 清仓+1800,COLORYELLOW;

中:(0+卖出区)/2, COLORGREEN;

{股旁网-股票公式网站 }

STICKLINE(买卖力道=中 AND 买卖力道=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;

STICKLINE(买卖力道=中 AND 买卖力道 REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;

STICKLINE(买卖力道中 AND 买卖力道=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;

STICKLINE(买卖力道中 AND 买卖力道 REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;

DRAWICON(买入股票,中,15);

DRAWTEXT (BB,0,'买股'),COLORYELLOW;

DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;

STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE;

DRAWICON(CROSS(D,中),中,13);

DRAWICON(CROSS(中,买卖力道),买卖力道,2);

DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));

DEA:=(EMA(DIF,6));

MACD:=(DIF-DEA)*3;

红线:=IF(MACD=0 AND MACDREF(MACD,1),中,DRAWNULL);

青线:=IF(MACD=0 AND MACD REF(MACD,1),中,DRAWNULL);

粉线:=IF(MACD0 AND MACD=REF(MACD,1),中,DRAWNULL);

蓝线:=IF(MACD0 AND MACD REF(MACD,1),中,DRAWNULL);

STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;

STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;

STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1;

STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;

DRAWICON(CROSS((A2),(A3)),200,23);

请问股票中的买卖力道图是怎么看的?图中的线分别代表什么?

1、买卖力道以图形的方式表达委买手数和委卖手数之间的关系。买卖力道由委买手数曲线、委卖手数曲线、以及两者差值柱状图构成。

2、委买手数曲线以红色表示,委卖手数曲线以绿色表示。

3、如果差值为正数,则是向上的红柱;负数则是向下的绿柱。委买手数是现在委托买入上三档的总手数;委卖手数是现在委托卖出下三档的总手数。

4、卖力道指标用红绿柱线在副图中画出,总买量用白线画出,总卖量用黄线画出。

扩展资料

1、RSI是用以计测市场供需关系和买卖力道的指标。RSI指标的技术含义,即以向上的力量与向下的力量进行比较,若上的力量较大,则计算出来的指标上升。

2、若下的力量较大,则指标下降,由此测算出市场走势的强弱。0≤RSI≤100,RSI80为超买;RSI20为超卖。

3、若是红柱多且高,说明买方力量强大;反之则卖方力量强大。

4、委买曲线和委卖曲线离0轴越远、数值越大,说明市场越是活跃。

5、通过买卖力道图,可以定性地判断大盘实时的多空对比的态势。

参考资料来源:百度百科-买卖力道指标

求通达信分时“买卖力道”源码

通达信分时买卖力道指标公式股票软件源码如下:

A1:=(VOL/CLOSE)/3;

A2:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A3:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A4:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A5:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);

A6:=((A2+A3)+A4)+A5;

A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);

A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));

A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));

A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));

机构买盘:(A2),LINETHICK0;

机构卖盘:(A3),LINETHICK0;

散户买盘:(A4),LINETHICK0;

散户卖盘:(A5),LINETHICK0;

STICKLINE(机构买盘0 AND 机构买盘=机构卖盘 AND 机构买盘=REF(机构买盘,1),20,20+100,1,0),COLORRED;

STICKLINE(机构卖盘0 AND 机构卖盘=机构买盘 AND 机构卖盘=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;

STICKLINE(散户买盘0 AND 散户买盘=散户卖盘 AND 散户买盘=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;

STICKLINE(散户卖盘0 AND 散户卖盘=散户买盘 AND 散户卖盘=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;

VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;

买卖力道: SMA(VAR2,3,1),COLORLIGRAY;

VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

VAR4:=(IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));

VAR5:=AMOUNT/(100*VOL);

VAR6:=MA(VAR5,40);

VAR7:=100*(CLOSE-VAR6)/VAR6;

底部追击:= IF(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,300,200),COLORGREEN;

STICKLINE(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,1200,200,10,0) , COLORGREEN;

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

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

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

D: SMA(VARA,5,1)*20, COLORCYAN;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势线:= EMA(V11,3);

V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;

BB:(趋势线=13 AND V1213) AND FILTER((趋势线=13 AND V1213),10);

买入股票:= (趋势线=13 AND V1213),COLORRED;

CCC:=(趋势线=90 AND V12) AND FILTER((趋势线=90 AND V12),10);

清仓:=FILTER(趋势线=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;

卖出区: 清仓+1800,COLORYELLOW;

中:(0+卖出区)/2, COLORGREEN;

{股旁网-股票公式网站 }

STICKLINE(买卖力道=中 AND 买卖力道=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;

STICKLINE(买卖力道=中 AND 买卖力道 REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;

STICKLINE(买卖力道中 AND 买卖力道=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;

STICKLINE(买卖力道中 AND 买卖力道 REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;

DRAWICON(买入股票,中,15);

DRAWTEXT (BB,0,'买股'),COLORYELLOW;

DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;

STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE;

DRAWICON(CROSS(D,中),中,13);

DRAWICON(CROSS(中,买卖力道),买卖力道,2);

DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));

DEA:=(EMA(DIF,6));

MACD:=(DIF-DEA)*3;

红线:=IF(MACD=0 AND MACDREF(MACD,1),中,DRAWNULL);

青线:=IF(MACD=0 AND MACD REF(MACD,1),中,DRAWNULL);

粉线:=IF(MACD0 AND MACD=REF(MACD,1),中,DRAWNULL);

蓝线:=IF(MACD0 AND MACD REF(MACD,1),中,DRAWNULL);

STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;

STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;

STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1;

STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;

DRAWICON(CROSS((A2),(A3)),200,23);

发表评论

评论列表

  • 听弧世味(2022-10-07 04:42:51)回复取消回复

    ((100*A2)/A6),0);A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));A10:=((IF((ISLASTBAR=1),((100*A5)/

  • 孤央千鲤(2022-10-06 23:32:00)回复取消回复

    NETHICK0;散户买盘:(A4),LINETHICK0;散户卖盘:(A5),LINETHICK0;STICKLINE(机构买盘0 AND 机构买盘=机构卖盘 AND 机构买盘=REF

  • 惑心幕倦(2022-10-07 04:12:58)回复取消回复

    户卖盘:(A5),LINETHICK0;STICKLINE(机构买盘0 AND 机构买盘=机构卖盘 AND 机构买盘=REF(机构买盘,1),20,20+100,1,0),COLORRED;STICKLINE(机构卖盘0 AND 机构卖盘=机构买盘 AND 机构卖盘