在创幻望见两个指标不错,转发过来各人分享!+ n" Y- Q+ h" ^! }
大盘异动
0 D0 Z$ A8 L2 l& _2 k/ R& O' tn 2 120 50
: N4 B. T, Z$ n
5 U% T! W; l- p; HQXZ:=(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N))*100;9 Z) C3 M0 V. x
界定:SMA(QXZ,3,1)*20,NODRAW,COLORRED;, z6 M# @8 Q! P$ ]8 C7 I8 q, I( V
DRAWBAND(界定,RGB(150,30,30),1000,RGB(0,100,50));; D4 {) w% x( f6 @" p/ m9 _- ^& c4 X
涨跌差INDEXADV-INDEXDEC),NODRAW,COLORWHITE;
: A7 ~6 I0 j$ a/ R9 [QX1:=(INDEXDEC-INDEXADV);7 i+ ^# v1 K, w. C, {+ a
VAR1:=(INDEXC-LLV(INDEXC,9))/(HHV(INDEXC,9)-LLV(INDEXC,9))*100;8 w% l( V% d2 y% v/ z" j8 J
VAR2:=SMA(VAR1,3,1);6 o6 t( b9 x+ c( f+ q
VAR3:=SMA(VAR2,3,1);
5 X. c; `4 R( ^1 r4 s' _VAR4:=(INDEXH+INDEXL+INDEXC)/3;1 T$ F- k: V; v% g: x! ] x0 Q7 W
VAR5:=(VAR4-MA(VAR4,14))/(0.015*AVEDEV(VAR4,14));. W. k* m+ g2 }( `3 ?$ J
VAR6:=EMA(INDEXC,2)-EMA(INDEXC,55);8 @% v" w4 x6 K
VAR7:=EMA(VAR6,6);* v* }8 s1 V8 Z1 r1 a3 z" b3 r& \
VAR8:=2*(VAR6-VAR7);/ j# Z8 s: m" Y% s6 c
人气%:(EMA((INDEXADV/(INDEXADV+INDEXDEC)-0.5),6))*100,NODRAW,COLORFF00FF;5 ~) q" r' z0 W/ x5 X
VAR11:=(人气%*10)+2000;- C I9 y5 a i$ v0 N
VAR12:=INDEXV/((INDEXH-INDEXL)*2-ABS(INDEXC-INDEXO));
) Z/ y: v( [! T9 B7 nVAR13:=IF(INDEXC>INDEXO,VAR12*(INDEXH-INDEXL),IF(INDEXCINDEXO,0-VAR12*((INDEXH-INDEXC)+(INDEXO-INDEXL)),IF(INDEXCVAR3 AND VAR5>0 AND VAR6>VAR7 AND VAR8>0,1,DRAWNULL),NODRAW,COLORYELLOW;
$ a' [2 R' O. L' u' Z, Q成交额【亿】:INDEXA/100000000,NODRAW,COLORLIRED;- g3 K, h0 z) D9 l* d: j: g
成交量【亿】:INDEXV/100000000,NODRAW,COLORLIRED;
5 A- e& Y& ~! J9 ~! S! c h8 I5 r量势:MEMA((SUM(VAR13,N)-SUM(-VAR14,N)),2)/2000000+1000,COLORYELLOW;' |! G8 V0 k3 O- t" _. G
VX6:MEMA(量势,6),COLORFF9933;
2 C$ P7 P3 k; @. r- W+ n% {STICKLINE(涨跌差>0,0,IF(涨跌差>0,涨跌差,0),0,1),COLORRED;; d! e+ K b0 @! t
STICKLINE(QX1>0,0,IF(QX1>0,QX1,0),0,1),COLORFFBB00;
" G* W/ C3 m# O% eSTICKLINE(涨跌差>800 AND 成交额【亿】>1300,0,IF(涨跌差>0,涨跌差,0),0,1),COLORFF00FF;
( M7 k$ n: g" c2 r6 PSTICKLINE(行情=1,2000,VAR11,0,1),COLORYELLOW;
$ l7 k' Q% t# G# i6 g/ V. v. x( y0 Q' M7 o. \: I
个股异动
: ?# O# O+ ?4 k+ D+ ON:=50;' D1 c4 @$ j4 e* ~1 Y
QXZ:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
1 I0 g0 f5 z( ~界定:SMA(QXZ,3,1)*20,NODRAW,COLORRED;. J6 Q4 s! {6 ^: i$ S! N, T
DRAWBAND(界定,RGB(150,30,30),1000,RGB(0,100,50));
h6 G; A4 l5 q4 X涨跌差:(INDEXADV-INDEXDEC),NODRAW,COLORWHITE;
. Z' v9 U) \' \5 x1 t5 f' lQX1:=(INDEXDEC-INDEXADV); ^! c5 S- H1 @, Y) F' X. p0 |
VAR1:=(C-LLV(C,9))/(HHV(C,9)-LLV(C,9))*100;3 V% ^% V- d3 l" Q9 t( m
VAR2:=SMA(VAR1,3,1);
4 u' J6 N) F( d5 Y& GVAR3:=SMA(VAR2,3,1);6 b6 E q! }! c% ?$ D! F% ?
VAR4:=(H+L+C)/3;
4 F. O) \9 s6 [& l" t. BVAR5:=(VAR4-MA(VAR4,14))/(0.015*AVEDEV(VAR4,14));
- j7 e1 Q$ q6 P' q5 D [VAR6:=EMA(C,2)-EMA(C,55);; {2 L% `1 o8 ?; E. g4 n
VAR7:=EMA(VAR6,6);
% g7 B4 Q2 J; J) [( D9 j7 H5 G1 [6 eVAR8:=2*(VAR6-VAR7);
( F* l1 Z0 G% P5 N; X4 S人气%:(EMA((INDEXADV/(INDEXADV+INDEXDEC)-0.5),6))*100,NODRAW,COLORFF00FF;; p% ?$ j P1 O- b1 p% J( F5 p: K% e
VAR11:=(人气%*10)+2000;5 m l! z8 t* U
VAR12:=V/((H-L)*2-ABS(C-O));0 x# _6 Y+ Y/ i4 z) v
VAR13:=IF(C>O,VAR12*(H-L),IF(CO,0-VAR12*((H-C)+(O-L)),IF(CVAR3 AND VAR5>0 AND VAR6>VAR7 AND VAR8>0,1,DRAWNULL),NODRAW,COLORYELLOW; Y+ W j% ?5 Y- g9 \
成交额【亿】:AMOUNT/100000000,NODRAW,COLORLIRED;6 W7 r% J( p& o0 b1 r
成交量【亿】:V/100000000,NODRAW,COLORLIRED;& f m9 g3 ]. Q5 f, S' D
量势:MEMA((SUM(VAR13,N)-SUM(-VAR14,N)),2)/2000000+1000,COLORYELLOW;. D8 ?1 N8 r4 v2 u G' N9 n! T- f
VX6:MEMA(量势,6),COLORFF9933;5 S. |2 M) x# J4 `( G# O
STICKLINE(涨跌差>0,0,IF(涨跌差>0,涨跌差,0),0,1),COLORRED;( a6 s" q! B' y: `" y: p# H
STICKLINE(QX1>0,0,IF(QX1>0,QX1,0),0,1),COLORFFBB00;$ f7 a- V1 R4 z1 Q7 M
STICKLINE(涨跌差>800 AND 成交额【亿】>1300,0,IF(涨跌差>0,涨跌差,0),0,1),COLORFF00FF;! V/ G- M% A, r) I
STICKLINE(行情=1,2000,VAR11,0,1),COLORYELLOW; |