买入底子:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);$ T$ L- s" d5 [. _- i, T6 c& y
VAR1:=EMA(INDEXC,5);
# h& n) Y7 z. P7 r( G; F5 n3 rVAR2:=EMA(INDEXC,10);- ^& P) K' m# r* J5 Q' G O
VAR3:=EMA(INDEXC,20);' O" p1 @* K' O/ w0 f
VAR4:=VAR1>=REF(VAR1,1) AND 买入底子;
: O# i' Y5 P1 b$ e8 EVAR5:=VAR2>=REF(VAR2,1) AND 买入底子;* \3 T: h2 L8 I2 b$ A2 s/ b- K
VAR6:=VAR3>=REF(VAR3,1) AND 买入底子;
. |7 N9 Y9 b, p+ CSTICKLINE(VAR6,40,50,4.5,0),COLOR1068B4,LINETHICK2;
9 P0 R1 a9 o# z. T9 nSTICKLINE(VAR6,40,50,4,0),COLOR1078B4,LINETHICK2;8 |- x# S. C7 J9 G
STICKLINE(VAR6,40,50,3.5,0),COLOR1088B4,LINETHICK2;
& u3 e2 T- o+ ^% ~STICKLINE(VAR6,40,50,3,0),COLOR1098B4,LINETHICK2;
! z4 o5 \, Q3 u& X/ t5 nSTICKLINE(VAR6,40,50,2.5,0),COLOR10A8B4,LINETHICK2;8 T$ [) R1 P: C5 t: ^( k9 _0 S8 r
STICKLINE(VAR6,40,50,2,0),COLOR10B8B4,LINETHICK2;
& T+ D$ m+ x, @! MSTICKLINE(VAR6,40,50,1.5,0),COLOR10C8B4,LINETHICK2;& |' u/ A) e: r9 e8 y1 o( b) [ [
STICKLINE(VAR6,40,50,1,0),COLOR10D8B4,LINETHICK2;
! A$ a h- g3 qSTICKLINE(VAR5,30,40,4.5,0),COLOR102070,LINETHICK2;7 L2 m# M; ?5 i4 x' s( L
STICKLINE(VAR5,30,40,4,0),COLOR102080,LINETHICK2;, @/ i) ~# }8 S+ M
STICKLINE(VAR5,30,40,3.5,0),COLOR102090,LINETHICK2;6 s9 \, ^ \8 Q% z" Z
STICKLINE(VAR5,30,40,3,0),COLOR1020A0,LINETHICK2;
4 B2 S0 Y5 O I" hSTICKLINE(VAR5,30,40,2.5,0),COLOR1020B0,LINETHICK2;+ c' C0 P0 X8 V; k
STICKLINE(VAR5,30,40,2,0),COLOR1020C0,LINETHICK2;
% |: I9 E! D* k5 @0 y& X+ pSTICKLINE(VAR5,30,40,1.5,0),COLOR1020D0,LINETHICK2;) D' `0 M' U4 X
STICKLINE(VAR5,30,40,1,0),COLOR1020E0,LINETHICK2;7 ]) b% G: @% _! x5 H
STICKLINE(VAR4,20,30,4.5,0),COLOR105510,LINETHICK2;# w1 c: X. L* w8 R1 U, t% v
STICKLINE(VAR4,20,30,4,0),COLOR106610,LINETHICK2;8 n0 x2 M1 K6 X& i/ | {. w
STICKLINE(VAR4,20,30,3.5,0),COLOR107710,LINETHICK2;6 g8 u1 X& B" G
STICKLINE(VAR4,20,30,3,0),COLOR108810,LINETHICK2;( ]' t0 c) q. Z
STICKLINE(VAR4,20,30,2.5,0),COLOR109910,LINETHICK2;& A6 `3 ?- A% H/ K& }7 c2 O
STICKLINE(VAR4,20,30,2,0),COLOR10AA10,LINETHICK2;# i x5 n1 L! f# ]3 Y
STICKLINE(VAR4,20,30,1.5,0),COLOR10BB10,LINETHICK2;+ P* D# W9 W' ~8 c) u6 j
STICKLINE(VAR4,20,30,1,0),COLOR10CC10,LINETHICK2;{大盘均线}
4 b$ j6 D2 a: t0 iVAR7:=EMA(INDEXV,5);
% V" L- N, j/ yVAR8:=EMA(INDEXV,10);
+ d5 p3 n9 H& K0 O% I' ?7 f' wVAR9:=EMA(INDEXV,20);
$ z" O$ F9 S% x4 U9 V7 z" dVAR10:=VAR7>=REF(VAR7,1) AND 买入底子;5 A& p$ v. H0 b. w. Q8 C
VAR11:=VAR8>=REF(VAR8,1) AND 买入底子;; z0 ~) q& x0 X4 P4 Z
VAR12:=VAR9>=REF(VAR9,1) AND 买入底子;
% S. h1 h- v0 `( M( D{STICKLINE(VAR12,70,80,8,0),COLOR108010,LINETHICK2;" I) G2 c4 m+ m' W; n& s
STICKLINE(VAR12,70,80,7,0),COLOR109010,LINETHICK2;; }; B# N1 F: B' b
STICKLINE(VAR12,70,80,6,0),COLOR10A010,LINETHICK2;+ R7 C1 \" I/ z( O8 e2 U8 X
STICKLINE(VAR12,70,80,5,0),COLOR10B010,LINETHICK2;} V0 I5 J) |" j. Z! C
STICKLINE(VAR12,70,80,4,0),COLOR10C010,LINETHICK2;
/ d: k! A9 f* @5 ?* wSTICKLINE(VAR12,70,80,3,0),COLOR10D010,LINETHICK2;) P- S' k! Y, R9 ~) Z3 L
STICKLINE(VAR12,70,80,2,0),COLOR10E010,LINETHICK2;8 Q k6 N0 k7 l- x- e, p
STICKLINE(VAR12,70,80,1,0),COLOR10F010,LINETHICK2;0 r6 U b' Y: ]' u
{STICKLINE(VAR11,60,70,8,0),COLORFF45FF,LINETHICK2;
; W) j0 F5 ?; d3 }3 I0 @! YSTICKLINE(VAR11,60,70,7,0),COLORFF55FF,LINETHICK2; }8 s$ V( Z' ^) r5 ~" t* c
STICKLINE(VAR11,60,70,6,0),COLORFF65FF,LINETHICK2;
- H4 d9 Q% H; C! H% \% M6 jSTICKLINE(VAR11,60,70,5,0),COLORFF75FF,LINETHICK2;}
) g+ ^! |3 T9 l* M7 U, l, pSTICKLINE(VAR11,60,70,4,0),COLORFF85FF,LINETHICK2;; ~. S+ e8 D% F' d4 d9 D. J% i
STICKLINE(VAR11,60,70,3,0),COLORFF95FF,LINETHICK2;
( B+ `! E8 s! kSTICKLINE(VAR11,60,70,2,0),COLORFFA5FF,LINETHICK2;
" {( q& @0 j$ USTICKLINE(VAR11,60,70,1,0),COLORFFB5FF,LINETHICK2;# J# Q6 b" B3 `5 r- ~) g `# B
STICKLINE(VAR10,50,60,4.5,0),COLOR1055FF,LINETHICK2;
. s, t2 c- R W pSTICKLINE(VAR10,50,60,4,0),COLOR1066FF,LINETHICK2;
- l' B$ H- C$ E m+ qSTICKLINE(VAR10,50,60,3.5,0),COLOR1077FF,LINETHICK2;, S6 V* i+ a$ n N
STICKLINE(VAR10,50,60,3,0),COLOR1088FF,LINETHICK2;
# U, c+ O! f8 F" CSTICKLINE(VAR10,50,60,2.5,0),COLOR1099FF,LINETHICK2;5 a# n' f+ [3 n6 g8 A ~
STICKLINE(VAR10,50,60,2,0),COLOR10AAFF,LINETHICK2;
1 T* j: I6 B8 S6 z0 l5 qSTICKLINE(VAR10,50,60,1.5,0),COLOR10BBFF,LINETHICK2;
9 l. o" ^; s3 k; n, D! gSTICKLINE(VAR10,50,60,1,0),COLOR10CCFF,LINETHICK2;{大盘均量线}
0 o, p9 y9 B; V1 e( A4 A
7 l. S! E! h$ V) m4 P9 O{以下语句是股道趋势及其交易点}( D9 x# t) B- Y+ [, w J+ X
A1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; 2 H L: s3 a7 ~3 r- Q, p
A2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
6 s: z3 \- X' a8 K v: D买入:=A1 AND A2;
: G/ C( B+ r3 ?$ q9 y, ^9 eA3:=REF(CLOSE,1);
) }/ Y* N$ H8 t; ]A4:=SMA(MAX(CLOSE-A3,0),6,1)/SMA(ABS(CLOSE-A3),6,1)*100;
+ B# m2 Q& p3 H$ A `7 Q卖出:=CROSS(80,A4);/ E7 Y6 k3 @. e+ }- l4 }
低吸线: 20,POINTDOT,COLOR1090FF;, a. P" \* t5 z1 h, E9 _9 x% u2 |
强弱线: 50,POINTDOT,COLORBBBB00 ;5 G2 j: `/ F* S' N& c5 d, `
高抛线: 80,POINTDOT,COLOR109C10;7 H% b' E' U( @& U! ]
A5:=LLV(LOW,18);
6 T6 n0 Q, z4 E' tA6:=HHV(HIGH,18);
+ @: Z0 }, N- fA7:=EMA((CLOSE-A5)/(A6-A5)*100,13);
1 Y$ s' h' E( G/ H( }! n @9 ?4 K股道趋势:EMA(0.618*REF(A7,1)+0.382*A7,3),COLORYELLOW,LINETHICK2;# {7 |3 n" F* u" M" g' g* W+ X
PLOYLINE(股道趋势 |