在创幻望见两个指标不错,转发过来各人分享!
\( q. p& H' Z; {大盘异动
7 z! U5 _' g( M7 v- W. M4 _n 2 120 50
4 i: P# P$ l/ l+ g5 Q6 E
3 {) y% \3 h, U. q+ FQXZ:=(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N))*100;' D# z# n" ~% s: ]) v
界定:SMA(QXZ,3,1)*20,NODRAW,COLORRED;
- H! S0 f: a9 _7 ?0 U4 |DRAWBAND(界定,RGB(150,30,30),1000,RGB(0,100,50));
" V1 I; j7 J5 X涨跌差INDEXADV-INDEXDEC),NODRAW,COLORWHITE;
3 \: i, j5 i: ~5 }QX1:=(INDEXDEC-INDEXADV);- z- S$ f2 z$ c" r8 v4 {8 G! s- t
VAR1:=(INDEXC-LLV(INDEXC,9))/(HHV(INDEXC,9)-LLV(INDEXC,9))*100;! F+ x2 f9 [) u5 y9 |" B
VAR2:=SMA(VAR1,3,1);
. X4 I% p( [2 b; U3 p8 ^* d& iVAR3:=SMA(VAR2,3,1);
1 y3 k4 f- K# C0 CVAR4:=(INDEXH+INDEXL+INDEXC)/3;
1 {, P2 ?1 n9 b: e7 b) ~VAR5:=(VAR4-MA(VAR4,14))/(0.015*AVEDEV(VAR4,14));
1 u! I! S% ]5 i2 K1 C D! m4 B+ ]VAR6:=EMA(INDEXC,2)-EMA(INDEXC,55);
6 m* V* J% V5 Z, Y6 M+ ?1 yVAR7:=EMA(VAR6,6);
5 u: K; H& e7 ^' ~) S+ k7 p; i4 _VAR8:=2*(VAR6-VAR7);% Z5 _3 p# {7 x% X
人气%:(EMA((INDEXADV/(INDEXADV+INDEXDEC)-0.5),6))*100,NODRAW,COLORFF00FF;
& A0 a9 Q X& H% _+ S7 Y9 |VAR11:=(人气%*10)+2000;
5 O& X0 f$ |( N- o9 I4 i; H" UVAR12:=INDEXV/((INDEXH-INDEXL)*2-ABS(INDEXC-INDEXO));+ R, L H6 _; i
VAR13:=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;
4 K$ h; e4 i+ w: Q成交额【亿】:INDEXA/100000000,NODRAW,COLORLIRED;
/ _6 \3 X" c, o5 a7 a& }3 W0 H成交量【亿】:INDEXV/100000000,NODRAW,COLORLIRED;. s. [4 X( u4 b6 @
量势:MEMA((SUM(VAR13,N)-SUM(-VAR14,N)),2)/2000000+1000,COLORYELLOW;
. Q* j, l1 w' ~! B, X0 P5 ?VX6:MEMA(量势,6),COLORFF9933;
2 N; ]% R1 l: o, f* g- w( @. \( MSTICKLINE(涨跌差>0,0,IF(涨跌差>0,涨跌差,0),0,1),COLORRED;
* _9 B+ X* A5 m+ YSTICKLINE(QX1>0,0,IF(QX1>0,QX1,0),0,1),COLORFFBB00;$ I! r8 O0 O' w! m
STICKLINE(涨跌差>800 AND 成交额【亿】>1300,0,IF(涨跌差>0,涨跌差,0),0,1),COLORFF00FF;1 B) y. ?) s4 H$ I
STICKLINE(行情=1,2000,VAR11,0,1),COLORYELLOW;
4 u, `! q6 H+ O" [0 Z# r" P) j' h! g0 ^* t: J. X+ x0 g4 ?
个股异动0 J+ b" x! ]: e/ ]' Q* q
N:=50;* G! M. |7 R9 N! ~! l& _, J7 t) X
QXZ:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;; w% T5 P6 D0 G& M+ G& v* Z
界定:SMA(QXZ,3,1)*20,NODRAW,COLORRED;
$ u0 {( q7 f3 ^( W- ^DRAWBAND(界定,RGB(150,30,30),1000,RGB(0,100,50));
K( O5 p: r* N* L' D涨跌差:(INDEXADV-INDEXDEC),NODRAW,COLORWHITE;
! t' r( X% W& a2 pQX1:=(INDEXDEC-INDEXADV);$ f- r, o& ?* b5 w
VAR1:=(C-LLV(C,9))/(HHV(C,9)-LLV(C,9))*100;5 z+ |5 l* H+ A) y* D, ^: }/ M
VAR2:=SMA(VAR1,3,1);. c/ Z" ^8 l9 l
VAR3:=SMA(VAR2,3,1);& I' d) J3 B% r% p/ @( T0 U
VAR4:=(H+L+C)/3;1 B \; W1 C2 y" ]( \0 y
VAR5:=(VAR4-MA(VAR4,14))/(0.015*AVEDEV(VAR4,14));: }2 L) x2 |( R. R
VAR6:=EMA(C,2)-EMA(C,55);
8 K$ C8 \$ ^! I' p$ L) gVAR7:=EMA(VAR6,6);
6 q) z4 N# @6 ZVAR8:=2*(VAR6-VAR7);
5 W* K- E6 o2 g5 y9 n& B" Z: ^人气%:(EMA((INDEXADV/(INDEXADV+INDEXDEC)-0.5),6))*100,NODRAW,COLORFF00FF;
& }) ?( H$ v6 C1 ]" gVAR11:=(人气%*10)+2000;9 G! b X A6 C1 b9 F# u2 \
VAR12:=V/((H-L)*2-ABS(C-O));
" P# i" d& u: @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;
' F8 E$ L* }$ Q2 w7 Z( Y成交额【亿】:AMOUNT/100000000,NODRAW,COLORLIRED;
) V# v3 W$ \- y成交量【亿】:V/100000000,NODRAW,COLORLIRED;! z" e! ?" U% R5 F" q) B. c7 [: l3 F
量势:MEMA((SUM(VAR13,N)-SUM(-VAR14,N)),2)/2000000+1000,COLORYELLOW;
1 z2 T w7 J( U5 ~$ Y P: v0 U) WVX6:MEMA(量势,6),COLORFF9933;
% v& J7 U8 h% X8 |9 t; O3 S+ jSTICKLINE(涨跌差>0,0,IF(涨跌差>0,涨跌差,0),0,1),COLORRED;! a L) T, G4 h# t. n6 ]* U" r
STICKLINE(QX1>0,0,IF(QX1>0,QX1,0),0,1),COLORFFBB00;' u4 z1 ?2 C9 V+ Z
STICKLINE(涨跌差>800 AND 成交额【亿】>1300,0,IF(涨跌差>0,涨跌差,0),0,1),COLORFF00FF;6 @9 I# h" F. R* x
STICKLINE(行情=1,2000,VAR11,0,1),COLORYELLOW; |