私募

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

[选股技巧] {量价时空}飞狐主图

[复制链接]
发表于 2019-5-22 01:05:29 | 显示全部楼层 |阅读模式
{量价时空}6 d: G. a* f! o4 y7 f
INPUT:N(5);1 X9 A" h7 D+ T' K. s
a0:=BARSCOUNT(c);a3:=SYSPARAM(3);a2:=SYSPARAM(2);1 N! T! U" V4 t7 @7 V, j
a4:=SYSPARAM(4);a5:=SYSPARAM(5);
3 G# X3 p, @7 T* V, ann0:=a3-a2;nn:=a0-a2;hh1:=(a4-a5)/10;  |& J) h& k8 m$ j1 a
y0:=a0>=a2;vv0:=if(y0=1 and SYSPARAM(1)>=a0,v,0);
( R% Y! o% [! P" e6 cc1:=if(BETWEEN(c,a4-0*hh1,a4-1*hh1),vv0,0);: }$ a6 I1 r9 Z1 Q/ D: g8 v
c2:=if(BETWEEN(c,a4-1*hh1,a4-2*hh1),vv0,0);
2 s# J% k1 k" g% d. _- a% mc3:=if(BETWEEN(c,a4-2*hh1,a4-3*hh1),vv0,0);
* V7 ?3 w+ ~' w- P0 Lc4:=if(BETWEEN(c,a4-3*hh1,a4-4*hh1),vv0,0);
# O% l7 U* E" I" N6 cc5:=if(BETWEEN(c,a4-4*hh1,a4-5*hh1),vv0,0);. A4 D; p$ b5 X% \5 U6 m; j
c6:=if(BETWEEN(c,a4-5*hh1,a4-6*hh1),vv0,0);
. h4 N7 V. u; A) y0 }c7:=if(BETWEEN(c,a4-6*hh1,a4-7*hh1),vv0,0);# d7 D8 ]: X; K( f. {7 @
c8:=if(BETWEEN(c,a4-7*hh1,a4-8*hh1),vv0,0);+ J! V* |8 J9 h0 _- x
c9:=if(BETWEEN(c,a4-8*hh1,a4-9*hh1),vv0,0);( Z4 V  @; b$ J. G
c10:=if(BETWEEN(c,a4-9*hh1,a4-10*hh1),vv0,0);
8 B* z' U4 t  K! g( H0 Fv1:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c1,nn0),0),2));3 f: i0 n  f, B3 t2 b/ K3 F
v2:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c2,nn0),0),2));
/ q. w6 L, T  O& M9 m: }+ cv3:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c3,nn0),0),2));
8 p3 [* W+ c" ~9 A, A, z% @3 c8 |v4:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c4,nn0),0),2));% _* f, N6 ?; f0 R
v5:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c5,nn0),0),2));4 a( S$ o$ J/ ~( e- ~( P
v6:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c6,nn0),0),2));
  |) i- z" i6 ~6 X$ C: I% y* lv7:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c7,nn0),0),2));1 s; l" h# F- b: ?+ m" }
v8:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c8,nn0),0),2));+ I0 U: C. {$ s: @
v9:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c9,nn0),0),2));
% T) S4 k$ E; E; b, W4 E- L( Uv10:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c10,nn0),0),2));% `" r0 e* J& [+ b; X6 L' v8 v& S
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
$ [4 l: K( k" \" T- t* xFILLRGN(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+0.05),Color008080;
0 Q, g1 _& r" @$ x, E+ [5 cFILLRGN(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+0.05),Color008080;
& y, V! _$ T# |, I9 Q: _FILLRGN(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+0.05),Color008080;% y1 k. J2 {$ v4 n! ]' j, j. S
FILLRGN(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+0.05),Color008080;! v+ ]' |" M4 {  g9 J
FILLRGN(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+0.05),Color008080;
* i* N# z( w+ u* e( W: RFILLRGN(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+0.05),Color008080;
9 Y) z  B) a: ~/ |& GFILLRGN(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+0.05),Color008080;. S+ x  }! q8 M3 i4 i) [
FILLRGN(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+0.05),Color008080;
$ F  j# P! a% @, l3 E' C2 h) b- bFILLRGN(v9/av0>=nn/nn0 and nn>=0,a4-8*hh1,a4-9*hh1+0.05),Color008080;* p0 D7 Y7 K3 m* R2 ~# x5 I5 p
FILLRGN(v10/av0>=nn/nn0 and nn>=0,a4-9*hh1,a4-10*hh1+0.05),Color008080{,colormagenta};
. U8 E2 }0 h( P1 c9 {hh:=SYSPARAM(4);ll:=SYSPARAM(5);
5 U8 b' l% o1 k, R$ ]6 w+ px:=ll-(hh-ll+MINDIFF)/n;3 {7 s/ w+ d; y7 C2 h
y:=HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1);
! \& y  Z$ g/ E5 w6 U- Q$ nyvb:=y[SYSPARAM(3)]/(ll-x+MINDIFF);$ K& v2 {6 c( |$ t- o
z:=VOL/yvb+x;
3 |. x) R6 l7 V' I, R7 `STICKLINE(CLOSE>REF(CLOSE,1),x,z,7,1),Color0000FF;
" _: C5 x' |4 z. Z7 ]; I9 C# r' u# u. _STICKLINE(CLOSE=O,C,O,7,0),COLORRED;  E- e% U5 ]: c4 s
STICKLINE(C>=O,C,O,4,0),COLORB0B0FF;0 O7 |% g4 |4 i! r# Q' G1 z) r7 g
STICKLINE(C>=O,C,O,2,0),COLORYELLOW;
1 m0 [+ e; w) G* k+ e0 ?* N$ LSTICKLINE(C>=O,H,L,0,0),COLORYELLOW;
- J/ f' I* v4 ?STICKLINE(C
http://www.simu001.cn/x73317x1x1.html
最好的私募社区 | 第一私募论坛 | http://www.simu001.cn

精彩推荐

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Archiver| ( 桂ICP备12001440号-3 )|网站地图

GMT+8, 2025-4-6 22:21 , Processed in 0.386075 second(s), 25 queries .

Powered by www.simu001.cn X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表