体育资讯网

您现在的位置是:首页 > 分类14 > 正文

分类14

l2主力资金指标源码(主力持仓量指标源码)

hacker2022-06-08 02:11:15分类1472
本文目录一览:1、跪求:通达信版L2大单净量指标源码,请友友割爱哟。

本文目录一览:

跪求:通达信版L2大单净量指标源码,请友友割爱哟。

主力买力度:LARGEINTRDVOL*100/VOL,COLORRED;

主力卖力度:LARGEOUTTRDVOL*100/VOL,COLORGREEN;

超B:=L2_VOL(0,0)*VOL/CAPITAL;

大B:=L2_VOL(1,0)*VOL/CAPITAL;

中B:=L2_VOL(2,0)*VOL/CAPITAL;

小B:=L2_VOL(3,0)*VOL/CAPITAL;

超S:=-L2_VOL(0,1)*VOL/CAPITAL;

大S:=-L2_VOL(1,1)*VOL/CAPITAL;

中S:=-L2_VOL(2,1)*VOL/CAPITAL;

小S:=-L2_VOL(3,1)*VOL/CAPITAL;

净流入:=(超B+大B+中B+小B)+(超S+大S+中S+小S);

大宗净流入:=(超B+大B)+(超S+大S);

超净:=超B+超S;

大净:=大B+大S;

中净:=中B+中S;

散净:=小B+小S;

AA:=CONST(MAX(ABS(净流入),MAX(ABS(大宗净流入),MAX(ABS(超净),MAX(ABS(大净),MAX(ABS(中净),ABS(散净)))))))*3,NODRAW;

DRAWRECTREL(10,CONST(830-(ABS(大宗净流入)*500/AA)),50,945,IF(CONST(大宗净流入)0,RGB(250,0,0),RGB(0,50,0)));

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.01,0.88,0,INTPART(大宗净流入)),COLORYELLOW;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.014,1,0,' 大宗'),COLORYELLOW;

DRAWRECTREL(55,CONST(830-(ABS(超净)*500/AA)),95,945,IF(CONST(超净)0,RGB(255,0,0),RGB(0,50,0)));

DRAWRECTREL(100,CONST(830-(ABS(大净)*500/AA)),140,945,IF(CONST(大净)0,RGB(0,50,0),RGB(255,0,0)));

DRAWRECTREL(145,CONST(830-(ABS(中净)*500/AA)),185,945,IF(CONST(中净)0,RGB(255,0,0),RGB(0,50,0)));

DRAWRECTREL(190,CONST(830-(ABS(散净)*500/AA)),230,945,IF(CONST(散净)0,RGB(0,50,0),RGB(255,0,0)));

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.061,1,0,' 超净 大净 中净 散净'),COLORYELLOW;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.055,0.88,0,INTPART(超净)),COLORYELLOW;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.103,0.88,0,INTPART(大净)),COLORYELLOW;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.144,0.88,0,INTPART(中净)),COLORYELLOW;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.190,0.88,0,INTPART(散净)),COLORYELLOW;

AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW;

DRAWRECTREL(0,515,CONST(ABS(主力买力度)*500/AAD),568,IF(CONST(主力买力度)0,RGB(255,0,0),RGB(0,50,0)));

DRAWRECTREL(0,570,CONST(ABS(主力卖力度)*500/AAD),623,IF(CONST(主力卖力度)0,RGB(0,50,0),RGB(255,0,0)));

DRAWTEXT_FIX(1,0,0.512,0,STRCAT('主力买力度:',CON2STR(主力买力度,0))),COLORYELLOW;

DRAWTEXT_FIX(1,0,0.57,0,STRCAT('主力卖力度:',CON2STR(主力卖力度,0))),COLORYELLOW;

请讲2个条件组合成为1个条件预警公式

{1、(盘中主力净流入>200万元时)

2、(盘中主力资金线上穿MA1时)

★★★同时满足2个条件出现预警信号 }

主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;

主力资金线:=SUM((LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),0);

MA1:=MA(主力资金线,20);

★★★预警:主力净流入200 AND CROSS(主力资金线,MA1);

大智慧主力资金公式源代码

ABVl2主力资金指标源码,主力进出指标公式源码l2主力资金指标源码

ABV:MA(SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(CLOSE,1),-VOL,0)),0)/25000,2);

M1:EMA(ABV,N1);

M2:EMA(ABV,N2);

参数 最小 最大 缺省 步长

N1 1 200 12 1

N2 1 200 26 1

发表评论

评论列表

  • 莣萳谨兮(2022-06-08 06:06:15)回复取消回复

    (0,515,CONST(ABS(主力买力度)*500/AAD),568,IF(CONST(主力买力度)0,RGB(255,0,0),RGB(0,50,0)));DRAWRECTREL(0,