& c6 [+ o6 |: P" B$ P4 w
0 i2 p/ F4 v2 pDRAWGBK(C>O,RGB(10,0,0),RGB(0,0,0),1,2,1);
n5 t; s: m8 v# U; T2 I
6 F& h; B1 w, P5 L+ x, ]DRAWKLINE(H,O,L,C);- a5 J1 J7 R0 ]1 B O2 L |5 E T
0 F0 T+ \7 k; LUPPER:(1+11/100)*MA(CLOSE,10),COLORGREEN,LINETHICK2;
; [/ ]& ]3 A4 d2 O/ c! W! t4 n& x- S
IF(UPPER>=REF(UPPER,1),UPPER,DRAWNULL),COLORRED,LINETHICK3;
/ s% F+ z5 ?& U4 q# `8 H v. Z
2 o) M+ U: ~3 x' SIF(UPPER<=REF(UPPER,1),UPPER,DRAWNULL),COLORGREEN,LINETHICK2;
' X3 Q6 H4 n l0 X* V
6 v) S' S% j) g k l+ HLOWER:(1-9/100)*MA(CLOSE,10),COLORGREEN,LINETHICK2;3 X% J$ | u( z. B; w/ J
3 J5 p' m$ f9 a! c) ^" |
IF(LOWER>=REF(LOWER,1),LOWER,DRAWNULL),COLORRED,LINETHICK3; Y8 S z- D+ @9 K8 e. f* ?2 O
7 I/ [7 {9 i5 {+ t2 nIF(LOWER<=REF(LOWER,1),LOWER,DRAWNULL),COLORGREEN,LINETHICK2;
% F$ F1 `- B7 c% l% ^
6 g! i' j" n( Q! C8 xENE:(UPPER+LOWER)/2,COLORGREEN,LINETHICK2;
; s- `/ W) {9 `! i7 ]/ P
. Z3 N' |4 t5 a, \! R2 K1 uIF(ENE>=REF(ENE,1),ENE,DRAWNULL),COLORRED,LINETHICK3;
2 J* {) N7 C! U
, _8 @. a6 C. r" u+ z" o/ S$ Y! bIF(ENE<=REF(ENE,1),ENE,DRAWNULL),COLORGREEN,LINETHICK2;
M1 c. |: n, A m/ C) P
& L, G3 q2 q( Q* D* _; h1 v: |XA_1:=ABS(((3.48*CLOSE+HIGH+LOW+OPEN)/5-EMA(CLOSE,20))/EMA(CLOSE,20));
5 S3 f# y8 ^* N5 B( q# k) u# X' m) K
XA_2:=DMA((2.15*CLOSE+LOW+HIGH+OPEN)/5,XA_1);- [2 [, H2 |) C! R; {
5 I% I; Z4 P, rXA_3:=EMA(XA_2,200)*1.26;& f5 P# c" N7 p- d" n
0 \2 P m! N6 U, c0 X. ?XA_4:=EMA(XA_2,200)*1.18;
/ m' H, f# g2 t- y
8 r* |; P/ O0 nXA_5:=MA((LOW+HIGH+CLOSE)/3,5);
5 a& s0 I9 ^: o
/ Y" m5 ~: D1 M2 _; b! eXA_6:=HHV(XA_5,60);
* A; v' s6 b( t# ?# p' n
" U& E7 z6 s7 z. V0 J9 a; W: iXA_7:=IF(XA_6>REF(XA_6,1),XA_6,DRAWNULL);4 [5 X; Z. g3 Q2 C
+ L0 M! ^; f. B# t* a
XA_8:=CLOSE*VOL;6 N1 a7 o$ B# s9 Y) F; u5 N. @8 o. @
, ?5 k" b e( m3 O' h
XA_9:=EMA((EXPMA(XA_8,3)/EXPMA(VOL,3)+EXPMA(XA_8,6)/EXPMA(VOL,6)+EXPMA(XA_8,12)/EXPMA(VOL,12)+EXPMA(XA_8,24)/EXPMA(VOL,24))/4,13);% Q# e" [) V ]) K6 f: Q
! B8 G% a2 T$ b2 t
上轨:1.06*XA_9,COLORBLACK; E$ U) F m2 e# J! h) [" X
; t& H* ?; F# A9 h顶:1.13*XA_9,COLORWHITE,LINETHICK3;7 @$ M/ a3 B; N( g
; B" n* @$ n+ z4 ]+ {XA_10:=MIN(XA_7,XA_3);, }9 L, }1 {1 }& Q$ I5 X' Z ]- z
4 S* O2 c$ e* x+ j0 \$ }
XA_11:=MIN(上轨,XA_3);
) ]- ^& |1 x+ x! e8 Q6 ]
. _- j; z9 [+ G6 ~XA_12:=MIN(XA_7,XA_4);
# b% h7 Q. _# L) S
( Z2 l' n/ L0 z/ o: FXA_13:=MIN(上轨,XA_4);2 v3 m! ]; C" r9 A* p( M
2 K @' d5 }7 k, CXA_14:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
2 `& [+ P% j; X: u6 d+ C3 p
" X7 T7 ~) b0 r" [) kXA_15:=CROSS(CLOSE,上轨) AND XA_14;% G! k2 T* F- h9 e* q6 M4 p" S
' A) ]7 U+ r s1 z' H! ~
{DRAWTEXT(XA_15,LOW*0.85,1),COLORYELLOW;}
1 w; y& w/ \* V( g0 l, w) P& P; M9 } w+ O6 c- `
DRAWICON(XA_15,LOW*0.86,13);
9 F- g3 k: H/ m5 n: }3 d+ u
! r3 w1 O. r6 \. XXA_16:=CROSS(CLOSE,顶) AND XA_14;
1 A6 l0 w/ ~ @# p1 S3 X5 x% `, l' n, R) A6 \
{DRAWICON(XA_16,LOW*0.8,5);- b+ \! W/ R Y) g& X
# |" w" d F! S1 w; }$ t
DRAWTEXT(XA_16,LOW*0.8,1),COLORYELLOW;}: Q+ j9 V+ }5 Z, j* V1 V7 m! ~- f
: O' }2 P* g9 a
XA_17:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
R d7 \. d! o$ b# i' h5 u, G" r4 U* o6 e$ W: c" j" T) p
STICKLINE(XA_17,OPEN,CLOSE,4,0),COLORRED;$ N$ j/ y- R- d& J6 g
1 j h# E. n% r4 q- b
STICKLINE(XA_17,OPEN,CLOSE,3,0),COLORYELLOW;. G; \+ j, ]& X2 B2 i8 s+ m T
h h N& ^* hSTICKLINE(XA_17,HIGH,LOW,0,0),COLORYELLOW;3 D' l; [2 ]9 Q: P, }1 C0 z% K
3 ]* m ^ M9 l& r4 Q0 e) ^* ]9 \
XA_18:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);& R, O- P `! N: k& y h) t' r
) R, V( Y& Y: ^( T2 i8 M& D, dXA_19:=CLOSE>REF(HHV(CLOSE,89),1);
3 Y/ k: [& H( S) | m; W
- ]1 ~3 c& R" v: kXA_20:=DMA(AMOUNT/(89*VOL),VOL/CAPITAL);
4 S: J/ q' B! f/ S. A
0 ^) V% F) c# d. d5 J4 {# O8 h2 O6 O: lXA_21:=CROSS(CLOSE,XA_20) AND XA_19;/ d2 }" w2 g: V% b" {
& P* }5 \ v+ ^2 L( \+ K
{DRAWTEXT(XA_21,LOW*0.99,2),COLORRED;
- ^$ y2 A1 \8 |/ m6 Y9 Z, [
5 z8 i- V! I0 l; ~ H8 d5 y# m0 W MDRAWTEXT(XA_21,LOW*0.99,3),COLORBLACK;}& J' k, t) _9 \8 n
2 E. m# ^) G( USTICKLINE(XA_21,CLOSE,OPEN,3.2,0),COLOR0077FF;
5 @$ e% U6 N; n0 Z4 R. s# y/ p- R1 ^4 M0 k( Q- X
STICKLINE(XA_21,CLOSE,OPEN,2.5,0),COLOR0099FF;& k3 `" k& `; i9 }
/ P6 k" Y6 e/ G' qSTICKLINE(XA_21,CLOSE,OPEN,1.9,0),COLOR00BBFF;* G* e3 u; \2 J$ q% l( e
, Q6 w; I$ n8 H* X. j, t& F4 g2 b
STICKLINE(XA_21,CLOSE,OPEN,1.2,0),COLOR00DDFF;
0 d/ I4 R' V% P: ^6 v0 i: m1 l& P, C; w2 n6 p' g
STICKLINE(XA_21,CLOSE,OPEN,0.3,0),COLORYELLOW;
7 [. k6 o+ i2 w) q1 y3 M
, D, }" |* L" FXA_22:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
7 _. r5 ?; ?: Y3 h1 P( @( v# `# |5 b+ ~: T* _7 G$ E5 P
XA_23:=DMA((2.15*CLOSE+LOW+HIGH)/4,XA_22);
0 U$ ^) j. J! `6 @% D0 {
) F3 a: {: O$ |9 U2 o3 o7 DXA_24:=EMA(XA_23,200)*1.118;
( R. t( ~$ `6 ~" v* N
1 x& D% t/ O: b; uXA_25:=EMA(XA_23,200)*1.118;( S% F! d( h, o$ B) {4 O
6 h% G3 g7 V0 c+ t
XA_26:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>8;
0 @$ k. f4 r# S- }- \# X3 D' i# }/ |. ~
XA_27:=CROSS(CLOSE,XA_24) AND XA_26;% x @. e: W' {7 v/ B
) t1 I2 ~/ \0 F
{DRAWTEXT(XA_27,LOW*0.98,2),COLORRED;
/ ?; L! `* b- f) y2 i/ n
" a: C! ^1 F: [7 y2 u' NDRAWTEXT(XA_27,LOW*0.98,4),COLORYELLOW;}) |( d c; S j7 r
: z. |& e! Q4 n7 I( C8 i
STICKLINE(XA_27,CLOSE,OPEN,3.2,0),COLOR0077FF;+ x0 D# A+ o" Q
" V! {- @& E' _- b; ]/ u { ~" g
STICKLINE(XA_27,CLOSE,OPEN,2.5,0),COLOR0099FF;
' k: a; U g) U( d1 }% ^, _5 \, g5 t' `! o6 Y9 W3 t# y4 }
STICKLINE(XA_27,CLOSE,OPEN,1.9,0),COLOR00BBFF;
" {' S& R. M. y0 I J6 l) P$ l
5 q2 t8 h7 ?2 q0 ^STICKLINE(XA_27,CLOSE,OPEN,1.2,0),COLOR00DDFF;
( p3 P* g6 p+ z& I4 U8 g% x
& E. v+ W! a% D) @: k, k4 H; K4 WSTICKLINE(XA_27,CLOSE,OPEN,0.3,0),COLORYELLOW;
6 ^( [+ P& u& ?/ X4 q; e8 {& u; i! r
3 O. e; h& o2 }, F6 GXA_28:=EMA((EXPMA(XA_8,23)/EXPMA(VOL,23)+EXPMA(XA_8,54)/EXPMA(VOL,54)+EXPMA(XA_8,108)/EXPMA(VOL,108)+EXPMA(XA_8,316)/EXPMA(VOL,316))/4,34);8 m. v' m% `6 a! Y2 r
9 v: O' B0 h' h& \8 L9 nXA_29:=1.0668*XA_28;
; ~6 W, N7 u) j7 J w$ S1 s8 v: y* k3 e" L
XA_30:=CROSS(CLOSE,XA_29) AND REF(CLOSE,1)*1.08-CLOSE<0.008 AND CLOSE>OPEN*0.5;
+ W$ n4 y9 ]9 {: T
9 g$ k$ ^" {( x/ ^& rDRAWICON(XA_30,LOW*0.98,13);* {6 Z1 s; \, v, m) J9 z
0 K; f: X: x( P" H{DRAWTEXT(XA_30,LOW*0.98,1),COLORYELLOW;}
X. v' z" J2 `$ z- g$ u4 S7 g* X; M/ W8 }7 H1 n' F
XA_31:=XA_21 AND XA_27;
0 K( S5 r/ h3 n' R6 H% p' B1 C; U1 g9 F, Z! V' w
DRAWICON(XA_31,LOW*0.95,13);. d0 ^/ f4 Q- R4 a2 L! p5 k
; [+ k- ~+ @$ `2 _3 j) A7 n{DRAWTEXT(XA_31,LOW*0.96,1),COLORYELLOW;}5 d4 ^, I% Q; q! | O' a8 F
* Z" a8 X/ |; _9 ?
XA_32:=CROSS(CLOSE,XA_24) AND XA_26;
* z7 O# g1 |! U8 U ]' n6 g( x$ K& T2 ]3 b9 T! {+ d. f* Q: S1 R
DRAWICON(XA_32,LOW*0.92,13);
3 U6 V/ O* P3 C3 y# Y
$ b" r2 b' c. `{DRAWTEXT(XA_32,LOW*0.94,1),COLORYELLOW;}* @! E4 k% p2 z A# @" {/ Y
/ w6 r: ~5 i/ K: } VMA3:=MA(CLOSE,3);/ t2 [9 i+ x0 t, ~' ?
5 @3 \$ [3 p1 A3 x6 ZMA5:=MA(CLOSE,5);
* s$ c9 Q1 E9 B& Z9 ^/ V9 X; P* h* m5 r8 b0 o4 h7 F5 F- H
MA7:=MA(CLOSE,7);$ l# G3 \+ g' g w+ e( B
3 N% j& v# T! r% [MA10:=MA(CLOSE,10);
6 V5 c, d2 Y2 {* O7 i( R# D @- s! d0 H$ c
MA15:=MA(CLOSE,15);/ m" S# L8 ?$ u
1 W1 G/ l3 d4 L5 A/ Z( y: `; r, q
MA20:=MA(CLOSE,20);
# C6 D, y: o6 L1 Y7 |' L
" B) j5 H1 G" B% Q! |MA25:=MA(CLOSE,25);
2 e! p% O& x l/ u- z8 f" G- e6 a2 a9 r
" C+ {2 [/ b d' O* P8 \: EMA30:=MA(CLOSE,30);- S$ m- k. q7 k- \8 J+ A, @
* {# `( e) @" I4 D
MA45:=MA(CLOSE,45);$ d9 y# ~; ^7 f9 H
( ?2 D' D$ G9 A( B: h3 Y
MA60:=MA(CLOSE,60); h4 p, O' o5 E- m
# I- F: ~* s# \3 v, qMA90:=MA(CLOSE,90);" o: w% s0 g y4 ^9 r* j2 B
% H8 W! a! \5 L4 @ h* Y lMA120:=MA(CLOSE,120);. d& i- B" |& q* U! G
; ?% r5 l) w' o) l" fMA160:=MA(CLOSE,160);
! k2 `# S/ F! Z" j5 i7 a! ?: a2 R; R+ Q; T0 ~
MA200:=MA(CLOSE,200);
3 o8 l! p; V0 e$ _/ r) w$ X9 T/ c" T6 t6 Y8 I; ~
MA250:=MA(CLOSE,200);% E& h0 J' V, s, [& G
8 s6 `% L$ V2 }
HJ26:=SUM(C,H) AND H>L;
! j, o" d; @+ d) v2 h$ f$ g' I
, [* F0 C0 m8 E2 g5 P7 B" F* UFHJ1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA3,MA5),MA7),MA10),MA15),MA20),MA25),MA30),MA45),MA60),MA90),MA120),MA160),MA200),MA250);
1 U3 c6 s9 ~3 c) w7 H* u1 W R) m {4 Y
FHJ2:=MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MIN(MA3,MA5),MA7),MA10),MA15),MA20),MA25),MA30),MA45),MA60),MA90),MA120),MA160),MA200),MA250); ^4 m. h8 C' Y. t# L$ R
/ d0 s. V" Z( q2 ~: q& C
三与250乖率:MA3/MA250*100-100,COLORMAGENTA,NODRAW;
`4 ]' \& s. d& ~0 c+ }: b
; K4 o7 a# J! t$ o% h所有线乖率:FHJ1/FHJ2*100-100,COLORYELLOW,NODRAW;! i: @ S+ g. \( ?+ w
; f* G+ O2 s4 H3 ^0 L涨停基因:(CONST(BARSCOUNT(CLOSE)))/(COUNT(HJ26,BARSSINCE(HJ26)+1)),NODRAW,COLORRED;
( S0 v2 x7 [3 e E$ v
) v% B7 v% v! ]GP:=NAMELIKE('S') OR NAMELIKE('*');4 S U! V( L& ?2 H
0 _7 s( ], t+ y9 _. ZHJ28:=IF(GP,REF(C,1)*1.05,REF(C,1)*1.1);
0 u! s- H* t1 Y8 ^( r7 E) k) n* w5 g" {
HJ29:=IF(HJ28,REF(C,1)*1.05,REF(C,1)*1.1);
/ F/ p, A9 h/ Y" F5 D
0 d: F; U& E8 w9 o: HDRAWTEXT_FIX(1,0.95,1,1,STRCAT('涨停:',CON2STR(HJ28,2))),COLORRED;% }2 N A0 b" L8 d8 A' d: p
( E/ F! u4 \. e2 w' }明涨停价:REF(C,H),NODRAW,COLOR0080FF;7 P/ ~ a3 h, ]2 R! P5 F
' x8 `3 y T5 f5 X0 `0 C" F
流通市值:(FINANCE(40)/100000000),NODRAW,COLORCYAN;' M$ @0 W5 R+ y- @7 |% N
_1 d" A7 d" I/ v& s Q/ K5 N融资融券股:IF(FINANCE(52)>0,100,DRAWNULL),COLORGRAY,NODRAW;2 R! [6 I& ^$ K# d: }9 w @
. Z, {" ~9 h3 ~+ J2 CXZ_1:=ABS(((3.48*CLOSE+HIGH+LOW+OPEN)/5-EMA(CLOSE,20))/EMA(CLOSE,20));5 `! l' O5 [4 M$ Z1 `) A4 |
# R; Y# e, {0 w) GXZ_2:=DMA((2.15*CLOSE+LOW+HIGH+OPEN)/5,XZ_1);4 f: C4 U: F, M/ g, e% }
- a+ O! E8 Z: t5 w8 bXZ_3:=EMA(XZ_2,200)*1.26;
* t- l7 F' ^- A2 ~; W* n) h% ~2 L y! _3 u. t& e8 G
XZ_4:=EMA(XZ_2,200)*1.18;( ?3 R; h% f7 @8 r# Z# n8 i( H
" j( L' K: A8 G! Z7 }- J: Y
XZ_5:=MA((LOW+HIGH+CLOSE)/3,5);0 x' ^( o3 Y+ W& X2 j: `$ S
; Q+ ^2 a" h8 m% U! }* L
XZ_6:=HHV(XZ_5,60);
' ^! b& N% o/ T$ q/ y, ^* b) l7 c2 K% \0 b( u/ ~3 |* N: o+ X) w
XZ_7:=IF(XZ_6>REF(XZ_6,1),XZ_6,DRAWNULL);$ d$ `/ x' S1 W( g# {8 R, j
. {# d- k" ` N2 i8 s, d
XZ_8:=CLOSE*VOL;2 M8 }! S' P% Z4 u7 Q% g1 q) g
6 m5 w: C5 _9 I: P0 QXZ_9:=EMA((EXPMA(XZ_8,3)/EXPMA(VOL,3)+EXPMA(XZ_8,6)/EXPMA(VOL,6)+EXPMA(XZ_8,12)/EXPMA(VOL,12) + EXPMA (XZ_8,24)/ EXPMA( VOL,24 ) )/4 , 13 ) ;8 R" y3 @% }7 q J
6 ]8 S7 N6 v+ C1 U7 kXZ_10:=1.03*XZ_9;$ G3 J3 `% S$ c. a( Z' p
3 {8 R ?8 U: B, A/ v$ d1 oXZ_11:=1.13*XZ_9;: X" c- ?( J! {: Z! i! g
: V/ X3 U% s+ W6 f( `XZ_12:=MIN(XZ_7,XZ_3);& ^; p, u& z1 @3 _/ x( q7 b
4 X+ ]* W/ V& `" s& U% r8 c
XZ_13:=MIN(XZ_10,XZ_3);
4 N5 h. O$ o( ?, ]; \3 F# N3 Y: Y$ W# L& D* m6 X6 m
XZ_14:=MIN(XZ_7,XZ_4);
, @) T5 Q9 q( _' [5 c) A$ p: Z$ [+ `- N; M* @3 v. l
XZ_15:=MIN(XZ_10,XZ_4);: x, q* R/ j! V/ O2 ?7 W7 d p
5 \0 ~- E6 F9 e7 D- P
XZ_16:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE=HIGH;
0 q2 E* P+ v1 d* x! {" t4 w( I
8 h" m- ^3 T: S4 `1 zXZ_17:=CROSS(CLOSE,XZ_11) AND XZ_16;
" e; p. v& @! R" r5 C) r/ O6 {% m( G( w/ a
DRAWICON(XZ_17,LOW*0.86,5);
" S" d( L# @/ M% b- n2 f4 q( G2 y5 D+ X: T1 I
DRAWTEXT(XZ_17,LOW*0.86,' 90%吃肉'),COLORYELLOW;
1 d% G! W1 ?+ C! o
3 o+ H! d6 N5 W( T, ]+ R
) N; s' M# |2 f# r% \# N# N' w6 X/ v$ w7 R- T
2 c" V4 R3 k! h8 I4 M
, O& n$ u( D/ N! G) \) M2 r
|