小单买:=1-BIGORDER(1,1)*V/CAPITAL; 4 O( b5 l1 V6 ?* A4 @* N
小单卖:=1-BIGORDER(2,1)*V/CAPITAL; 4 Q- Y$ d1 ] _) d0 G$ I! t: o
散户净买:=(小单买-小单卖)*100; 7 @/ c( {; c; U
散户:sum(散户净买,1),linethick0,COLORGREEN; ( F6 q5 O9 P$ ?6 H$ {' P
中户买:=BIGORDER(1,1)*V/CAPITAL-BIGORDER(1,2)*V/CAPITAL;
% h+ x% U3 K$ w1 @中户卖:=BIGORDER(2,1)*V/CAPITAL-BIGORDER(2,2)*V/CAPITAL;
. U; M' K% W- y/ E% P; g1 l4 Q8 U; R中户净买:=(中户买-中户卖)*100;
& ^' E& `- J& b& O中户:sum(中户净买,1),linethick0,colorf00ff0;
1 [* Q' u9 S3 Z! f: @. X大户买:=BIGORDER(1,2)*V/CAPITAL-BIGORDER(1,3)*V/CAPITAL; 5 Z+ o! o$ M6 t- O9 d, T! L4 L
大户卖:=BIGORDER(2,2)*V/CAPITAL-BIGORDER(2,3)*V/CAPITAL; & z, J k3 ?; V" Q# ^
大户净买:=(大户买-大户卖)*100;
, I* b9 V% [9 ]- d1 u8 x& d大户:sum(大户净买,1),linethick0,colorf0f000; + J7 F! \/ [$ Y3 a- p
机构买:=BIGORDER(1,3)*V/CAPITAL;
1 i9 B9 ]/ R2 o) Q机构卖:=BIGORDER(2,3)*V/CAPITAL;
0 ]- m* B/ h1 P7 H机构净买:=(机构买-机构卖)*100; $ U, \ b7 Q8 w7 S
超大:sum(机构净买,1),linethick0,color3399FF;
. r: ]) F% L0 \$ ]大单买:=BIGORDER(1,2)*V/CAPITAL; ! g# f! c% [" B9 r
大单卖:=BIGORDER(2,2)*V/CAPITAL; 5 Y, f/ F B# E% H2 K3 O
主力大单买-大单卖)*100,linethick0,COLORRED;
7 b* g. a2 N) v; k+ {散户增减:=散户-ref(散户,3);
) S1 t) r$ n/ D9 W0 {中户增减:=中户-ref(中户,5);
$ y x; {% D) R5 \! F0 Z y7 H: C大户增减:=大户-ref(大户,3); 2 y: e" c% r- d4 Q+ T( w# a$ K# ]/ q
超大增减:=超大-ref(超大,10);
, r5 f, m2 R, u h+ L, F2 H& q主力增减:=主力-ref(主力,5);
! s) x; f7 s( c, Y" p. RS3:=ref(散户,3);
+ Q" c" P% |' v6 n$ f( qZ3:=ref(中户,3);
+ n/ Y5 g2 N3 ? p; U+ |# |; Q3 HD3:=ref(大户,3);
: J. {3 b8 X0 U$ t0 M6 cF3:=ref(超大,3);
* Z" M: S8 e9 ]: Z) o1 U. I( V) {J3:=ref(主力,3);
( q; X" _; N( P' HS5:=ref(散户,5);
, u6 n( r& ?' E8 _ j D! h# JZ5:=ref(中户,5); , ~! A3 e- `! {; Y& M( I0 p. \
D5:=ref(大户,5);
3 V e; h% w! Z# z v. kF5:=ref(超大,5); _7 h+ @, `; n
J5:=ref(主力,5); . i: B+ Q' p, }' e
S10:=ref(散户,10); / L$ k9 K& P/ e
Z10:=ref(中户,10);
) H- _. x. p- K3 B7 Y4 \D10:=ref(大户,10); 0 C1 q" P* Z, V3 m- z- i
F10:=ref(超大,10); ! D! e. }% }2 C4 C3 C
J10:=ref(主力,10);
. u% n6 ^+ R' i0 a5 y$ [" d' Z, h; NS20:=ref(散户,20);
+ ~: H N7 k1 f2 D2 C3 EZ20:=ref(中户,20); ) @4 l2 A+ b" Y
D20:=ref(大户,20); ) B# V6 [. X' w! z; f! f3 {# z2 A- q0 W
F20:=ref(超大,20); " N4 [4 ^+ E/ ^& H: _8 t
J20:=ref(主力,20);
( H+ w4 Z/ Y P% v% I6 `BL3:=400/MAX(S3,Z3,D3,F3,J3); % A4 \0 [# t0 z
BL5:=400/MAX(S5,Z5,D5,F5,J5);
* t& c& H0 M& j- ?BL10:=400/MAX(S10,Z10,D10,F10,J10); # Y4 V" h! `+ b$ S& y6 @
BL20:=400/MAX(S20,Z20,D20,F20,J20);
; a$ s& S, r ]" `S3B:=999-S3*BL3; u$ ]$ x( N d" P) Q( _
Z3B:=999-Z3*BL3;
3 T; Z/ H. Y7 y, t' ?. i- } OD3B:=999-D3*BL3;
* a/ c$ ~/ f5 { PF3B:=999-F3*BL3;
. b& t( G) r @5 C- G4 X- jJ3B:=999-J3*BL3;
$ y4 v P( _& H" g; n0 ?S5B:=999-S5*BL5;
2 _ D- Y3 k/ GZ5B:=999-Z5*BL5;
% ?7 u9 n$ X5 f" T% _$ PD5B:=999-D5*BL5;
+ h& i# _: H9 p& U( S# Q" r! EF5B:=999-F5*BL5; 8 g0 x7 M( h! X6 X" D9 J
J5B:=999-J5*BL5; # T8 S$ r( k! s3 r y I
S10B:=999-S10*BL10; 8 T! @4 B; y2 s0 }, Z
Z10B:=999-Z10*BL10;
" }4 R) m7 o- S; d3 A; aD10B:=999-D10*BL10; ( D) Z5 n: S. v/ l( \
F10B:=999-F10*BL10; 4 n8 D; ^3 t( y" Y
J10B:=999-J10*BL10; " |( O# C1 q$ G) l
S20B:=999-S20*BL20; 6 c9 h; a u# V) K- I7 c- f
Z20B:=999-Z20*BL20; 3 b( Z0 |6 S5 r" F, _: g. P2 v \
D20B:=999-D20*BL20; 0 S3 ^; s7 Z; e
F20B:=999-F20*BL20;
) Y% |2 Q& ?+ t( g1 s: oJ20B:=999-J20*BL20;
: i- G$ c. Z- K6 _ f# z6 u{画直方图} " A; s- n9 B9 n. Z- A5 p% [( E
DRAWRECTREL(10,S3B,40,999,RGB(0,255,0)); : ]9 n, d9 A3 g) Q, h# g% N
DRAWRECTREL(30,Z3B,60,999,RGB(180,0,100)); T$ J0 ~8 w7 ~+ j# I9 R; Y
DRAWRECTREL(50,D3B,80,999,RGB(0,0,255));
5 G y W+ J r1 LDRAWRECTREL(70,F3B,100,999,RGB(180,100,0));
' m6 L5 _- `5 `; d0 QDRAWRECTREL(90,J3B,120,999,RGB(255,0,0)); 5 U6 m" T8 a' R9 R5 e8 l
DRAWRECTREL(140,S5B,170,999,RGB(0,255,0)); Z. ?5 D( m9 _
DRAWRECTREL(160,Z5B,190,999,RGB(180,0,100)); * C6 F1 S2 j& k3 |- n `
DRAWRECTREL(175,D5B,210,999,RGB(0,0,255));
! k, n2 B4 G+ _4 B6 \9 dDRAWRECTREL(200,F5B,230,999,RGB(180,100,0));
. q0 U* d1 R m. q* wDRAWRECTREL(220,J5B,250,999,RGB(255,0,0)); 1 k( O) L- ~$ Y" e3 Z
DRAWRECTREL(270,S10B,300,999,RGB(0,255,0));
! t) p" Y( I; V& |0 kDRAWRECTREL(290,Z10B,320,999,RGB(180,0,100));
) L/ V8 U. v& f9 o; t( ?0 BDRAWRECTREL(310,D10B,340,999,RGB(0,0,255));
3 r' J/ d: \3 j+ b2 \3 ?DRAWRECTREL(330,F10B,360,999,RGB(180,100,0)); / k2 c8 h6 h' X+ y
DRAWRECTREL(350,J10B,380,999,RGB(255,0,0));
. k* ~ }/ s6 ]; z: u: S. PDRAWRECTREL(400,S20B,430,999,RGB(0,255,0)); ' R4 d* r2 g Q0 A
DRAWRECTREL(420,Z20B,450,999,RGB(180,0,100)); * Z/ V; B9 p! l% o! o# C
DRAWRECTREL(440,D20B,470,999,RGB(0,0,255)); 6 R$ C" s5 @* ~$ A
DRAWRECTREL(460,F20B,490,999,RGB(180,100,0));
1 j+ S8 L) m" V+ S" P* Y8 ~' A+ A; LDRAWRECTREL(480,J20B,510,999,RGB(255,0,0)); " k3 L7 I1 y, u1 C
DRAWTEXTREL(80,5,''散户''),color00ff00;
0 [' q1 z8 S8 xDRAWTEXTREL(160,5,''中户''),colorf00ff0;
) X# G* A; K/ p6 e( S& `DRAWTEXTREL(240,5,''大户''),colorffaa66; 9 x; J( h& F$ C9 E9 k
DRAWTEXTREL(320,5,''超大''),color0099ff;
9 d; V W' J/ Z# k" z2 d* RDRAWTEXTREL(400,5,''主力''),colorred;
3 K: F( d [1 J8 h$ sDRAWTEXTREL(30,70,''本日''),colorddffff;
) K4 s) i4 ^7 ^" iDRAWTEXTREL(80,70,NUMTOSTRN(散户,2)), color00ff00; 5 D3 v6 X$ k' J: n- Y. m
DRAWTEXTREL(160,70,NUMTOSTRN(中户,2)),colorf00ff0;
3 } B6 y4 w7 r" t- z& w. d; a* fDRAWTEXTREL(240,70,NUMTOSTRN(大户,2)), colorffaa66; ' T L' E6 C2 C* ?8 m% `* z& J
DRAWTEXTREL(320,70,NUMTOSTRN(超大,2)), color0099ff;
* l) L& [# h: ]& [3 VDRAWTEXTREL(400,70,NUMTOSTRN(主力,2)), colorred; # [, V! Y9 n8 m% A7 y/ H
DRAWTEXTREL(30,140,''3日''), colorddffff;
# t% [$ \% A8 d: m* H$ Q1 NDRAWTEXTREL(80,140,NUMTOSTRN(S3,2)), color00ff00;
: P& [1 b" t& f" s R: L, h& ^5 bDRAWTEXTREL(160,140,NUMTOSTRN(Z3,2)),colorf00ff0; 2 f$ ^( k8 g5 W
DRAWTEXTREL(240,140,NUMTOSTRN(D3,2)), colorffaa66;
) I6 h( l7 f; D2 g/ x1 ?DRAWTEXTREL(320,140,NUMTOSTRN(F3,2)), color0099ff;
3 R) O5 Y$ Z( t, u7 y$ oDRAWTEXTREL(400,140,NUMTOSTRN(J3,2)), colorred;
7 `: g' }2 P. ^/ O* ~' O6 n8 F6 J; zDRAWTEXTREL(30,210,''5日''), colorddffff; `( E: _" f: X7 B3 o# ~8 k: }
DRAWTEXTREL(80,210,NUMTOSTRN(S5,2)), color00ff00; ; v1 F5 @3 o8 q8 v
DRAWTEXTREL(160,210,NUMTOSTRN(Z5,2)),colorf00ff0;
: f) j c5 G7 d' V) ~2 LDRAWTEXTREL(240,210,NUMTOSTRN(D5,2)), colorffaa66;
3 u, y5 i! s, P: @# G' g% E5 GDRAWTEXTREL(320,210,NUMTOSTRN(F5,2)), color0099ff;
6 q6 v1 J$ m2 r# |: X. XDRAWTEXTREL(400,210,NUMTOSTRN(J5,2)), colorred;
. \( I; Z# i! G7 ^3 e. s0 zDRAWTEXTREL(30,280,''10日''), colorddffff; + b! v* e( t: b+ j' q) x! ^! |8 \
DRAWTEXTREL(80,280,NUMTOSTRN(S10,2)), color00ff00; 7 |5 P5 b& V9 L3 n; H, \$ l
DRAWTEXTREL(160,280,NUMTOSTRN(Z10,2)),colorf00ff0;
9 [1 r! t" h9 q6 ]3 pDRAWTEXTREL(240,280,NUMTOSTRN(D10,2)), colorffaa66; / g2 _2 d- k# W- R9 p
DRAWTEXTREL(320,280,NUMTOSTRN(F10,2)), color0099ff; 8 M5 }6 C0 o; k% L& F
DRAWTEXTREL(400,280,NUMTOSTRN(J10,2)), colorred;
& P8 m% q% Z) z" KDRAWTEXTREL(30,350,''20日''), colorddffff;
1 N* J& u3 e P$ hDRAWTEXTREL(80,350,NUMTOSTRN(S20,2)), color00ff00; . d6 L; `1 N$ d+ L/ p# ~5 U) X
DRAWTEXTREL(160,350,NUMTOSTRN(Z20,2)),colorf00ff0; 2 ]5 ], H8 {% j: ~& G# j
DRAWTEXTREL(240,350,NUMTOSTRN(D20,2)), colorffaa66; ) G& z5 e' J* s% E8 {- o! \
DRAWTEXTREL(320,350,NUMTOSTRN(F20,2)), color0099ff;
7 `4 |! J, s! aDRAWTEXTREL(400,350,NUMTOSTRN(J20,2)), colorred;
z1 t" a& O# T- u5 zDRAWTEXTREL(5,800,''3''),COLORRED; 4 Z" w r1 ]9 n0 U& [1 u
DRAWTEXTREL(3,900,''日''),COLORRED; ) E& d7 h; Q. g9 h
DRAWTEXTREL(135,800,''5''),COLORRED;
+ _5 r/ N B/ r" B. YDRAWTEXTREL(130,900,''日''),COLORRED;
1 J: V/ a9 N4 _! r `/ r/ |6 ~DRAWTEXTREL(260,800,''10''),COLORRED; _- c! A: |; `0 h; ]
DRAWTEXTREL(260,900,''日''),COLORRED; 0 Z' D6 L. X0 j4 ~1 D; S) Q
DRAWTEXTREL(390,800,''20''),COLORRED; ) q' ?) K- H1 ^! o J( }
DRAWTEXTREL(390,900,''日''),COLORRED;
4 J4 G, w* B7 _% b9 [, x5 j一日资金流入:=amount*BIGORDER(1,2)/10000;
* B/ x0 A; g/ u' j9 S O, D! E4 @一日资金流出:=amount*BIGORDER(2,2)/10000; , G* K+ b9 g( I4 e1 Z
资金流:=一日资金流入-一日资金流出; : R' ~; ^7 m' h4 o
收支【万元】:资金流,color3d,coloryellow; - m8 b& b: W$ X) ^! z: f& X1 p
IF 资金流流出,RGB(255,0,0)),COLOR000000; 6 H( e$ v) A. g: O
FILLRGN(流出, |