English | 简体中文 | 繁體中文
一流镖客16bk.com

书写民间股市传奇...

一个很简单但比较准的指标,主力机构差。(大智慧)

admin2021-03-25 03:40:28214

input:p1(60),p2(5),p3(10);iR7一流镖客
variable:资金=0;iR7一流镖客
资金:(ordervol(1,2)-ordervol(2,2))/capital*100;iR7一流镖客
主力力度:SUM(资金,0);iR7一流镖客
主力单数:sum(ORDERNUM(2,0)-ORDERNUM(1,0),0);iR7一流镖客
a1:=SUM((ORDERVOL(1,3)),0);iR7一流镖客
a2:=SUM((ORDERVOL(2,3)),0);iR7一流镖客
a3:=(SUM((ORDERVOL(1,2)),0)) - a1;iR7一流镖客
a4:=(SUM((ORDERVOL(2,2)),0)) - a2;iR7一流镖客
a5:=(SUM((ORDERVOL(1,1)),0)) - (SUM((ORDERVOL(1,2)),0));iR7一流镖客
a6:=(SUM((ORDERVOL(2,1)),0)) - (SUM((ORDERVOL(2,2)),0));iR7一流镖客
a7:=(SUM((ORDERVOL(1,0)),0)) - (SUM((ORDERVOL(1,1)),0));iR7一流镖客
a8:=(SUM((ORDERVOL(2,0)),0)) - (SUM((ORDERVOL(2,1)),0));iR7一流镖客
a9:=(SUM((ORDERVOL(1,0)),0)) + (SUM((ORDERVOL(2,0)),0));iR7一流镖客
a10:=a7 - a8;iR7一流镖客
a11:=a5 - a6;iR7一流镖客
a12:=a3 - a4;iR7一流镖客
a13:=a1 - a2;iR7一流镖客
a14:=(SUM((ORDERVOL(1,2)),0)) - (SUM((ORDERVOL(2,2)),0));iR7一流镖客
a15:=(100 * a7) / a9;iR7一流镖客
a16:=(100 * a8) / a9;iR7一流镖客
a17:=(100 * a5) / a9;iR7一流镖客
a18:=(100 * a6) / a9;iR7一流镖客
a19:=(100 * a3) / a9;iR7一流镖客
a20:=(100 * a4) / a9;iR7一流镖客
a21:=(100 * a1) / a9;iR7一流镖客

a22:=(100 * a2) / a9;iR7一流镖客
a23:=(100 * (SUM((ORDERVOL(1,2)),0))) / a9;iR7一流镖客
a24:=(100 * (SUM((ORDERVOL(2,2)),0))) / a9;iR7一流镖客
a25:=(100 * a10) / a9;iR7一流镖客
a26:=(100 * a11) / a9;iR7一流镖客
a27:=(100 * a12) / a9;iR7一流镖客
a28:=(100 * a13) / a9;iR7一流镖客
a29:=(100 * a14) / a9;iR7一流镖客
a30:=(a1);iR7一流镖客
a31:=(a2);iR7一流镖客
a32:=(a3);iR7一流镖客
a33:=(a4);iR7一流镖客
a34:=(a5);iR7一流镖客
a35:=(a6);iR7一流镖客
a36:=(a7);iR7一流镖客
a37:=(a8);iR7一流镖客
a38:=((SUM((ORDERVOL(1,2)),0)));iR7一流镖客
a39:=((SUM((ORDERVOL(2,2)),0)));iR7一流镖客
a40:=(a10);iR7一流镖客
DRAWTEXTREL(2,720,'机买:'+NUMTOSTR(a21)+'%'+' 大买:'+NUMTOSTR(a19)+'%'+' 中买:'+NUMTOSTR(a17)+'%'+' 散买:'+NUMTOSTR(a15)+'%'),colorRed;iR7一流镖客
DRAWTEXTREL(2,790,'机卖:'+NUMTOSTR(a22)+'%'+' 大卖:'+NUMTOSTR(a20)+'%'+' 中卖:'+NUMTOSTR(a18)+'%'+' 散卖:'+NUMTOSTR(a16)+'%'),colorGreen;iR7一流镖客
DRAWTEXTREL(2,860,'机差:'+NUMTOSTR(a28)+'%'+' 大差:'+NUMTOSTR(a27)+'%'+' 中差:'+NUMTOSTR(a26)+'%'+' 散差:'+NUMTOSTR(a25)+'%'),colorWhite;iR7一流镖客
DRAWTEXTREL(2,930,'主差:'+NUMTOSTR(a29)+'%'),colorRed;iR7一流镖客

其他股票