买入底子:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);
- U5 _7 p9 o( N# W3 K3 aVAR1:=EMA(INDEXC,5);
) t& a$ D# Z; H z% @ C0 w9 VVAR2:=EMA(INDEXC,10);
4 p t4 ~1 X# wVAR3:=EMA(INDEXC,20);& g$ \* t- P3 |; z5 F
VAR4:=VAR1>=REF(VAR1,1) AND 买入底子;; Q E% s' C2 w- m9 b
VAR5:=VAR2>=REF(VAR2,1) AND 买入底子;( `( d0 X2 U7 V7 w6 M- H& X
VAR6:=VAR3>=REF(VAR3,1) AND 买入底子;
( J8 j: k1 H7 |0 |1 L! g5 x; vSTICKLINE(VAR6,40,50,4.5,0),COLOR1068B4,LINETHICK2;6 Z2 k" s2 Q5 T2 v6 u& D
STICKLINE(VAR6,40,50,4,0),COLOR1078B4,LINETHICK2;
5 o' v, m: L4 l9 E' Z; t' H* MSTICKLINE(VAR6,40,50,3.5,0),COLOR1088B4,LINETHICK2;
3 g" O5 E Q/ cSTICKLINE(VAR6,40,50,3,0),COLOR1098B4,LINETHICK2;5 r4 a2 w) Q f! |
STICKLINE(VAR6,40,50,2.5,0),COLOR10A8B4,LINETHICK2;
) M5 p- p1 _) z" }+ _) N7 mSTICKLINE(VAR6,40,50,2,0),COLOR10B8B4,LINETHICK2;
& o- l, l& E# ?1 sSTICKLINE(VAR6,40,50,1.5,0),COLOR10C8B4,LINETHICK2;
& V8 F" x1 Y; T# A- `3 \STICKLINE(VAR6,40,50,1,0),COLOR10D8B4,LINETHICK2;9 k7 w+ Y4 j; s) q. C! t: g9 Y
STICKLINE(VAR5,30,40,4.5,0),COLOR102070,LINETHICK2;$ B5 ^# w' D* ^9 G+ @4 i/ c
STICKLINE(VAR5,30,40,4,0),COLOR102080,LINETHICK2;
1 u$ p. U! s( o% USTICKLINE(VAR5,30,40,3.5,0),COLOR102090,LINETHICK2;8 [+ H2 C: e3 F( K' l. @; l
STICKLINE(VAR5,30,40,3,0),COLOR1020A0,LINETHICK2;
( T, k i2 ]: hSTICKLINE(VAR5,30,40,2.5,0),COLOR1020B0,LINETHICK2;
4 ?8 ?' c7 Y) i; NSTICKLINE(VAR5,30,40,2,0),COLOR1020C0,LINETHICK2;) x$ Z+ l4 E6 l7 w# f2 H* }0 Q
STICKLINE(VAR5,30,40,1.5,0),COLOR1020D0,LINETHICK2;6 B: \8 S4 _1 Z! R9 X
STICKLINE(VAR5,30,40,1,0),COLOR1020E0,LINETHICK2;! o" L, a6 l# n8 }) E: A: X
STICKLINE(VAR4,20,30,4.5,0),COLOR105510,LINETHICK2;* G* [! S a( Y1 O2 I. l9 N6 S( r
STICKLINE(VAR4,20,30,4,0),COLOR106610,LINETHICK2;& |5 h' M1 a' z/ t
STICKLINE(VAR4,20,30,3.5,0),COLOR107710,LINETHICK2;9 N0 k) [: G6 {& m, m: U
STICKLINE(VAR4,20,30,3,0),COLOR108810,LINETHICK2; A" x8 w0 a3 _
STICKLINE(VAR4,20,30,2.5,0),COLOR109910,LINETHICK2;7 r S8 K; `! Q( R& q
STICKLINE(VAR4,20,30,2,0),COLOR10AA10,LINETHICK2;" V" x1 T% L/ J7 t# C
STICKLINE(VAR4,20,30,1.5,0),COLOR10BB10,LINETHICK2;
% f1 ?7 t8 e; O( ]( m7 }4 ^STICKLINE(VAR4,20,30,1,0),COLOR10CC10,LINETHICK2;{大盘均线}# W4 a8 @% o' X4 l. n# y8 y
VAR7:=EMA(INDEXV,5);
" j; K* N7 H5 C0 ~- vVAR8:=EMA(INDEXV,10);7 S: F; f9 v3 l/ Y& ?
VAR9:=EMA(INDEXV,20);
: r7 W* f2 D! AVAR10:=VAR7>=REF(VAR7,1) AND 买入底子;' g6 o9 j8 k3 W) l, \$ v% T' C* d2 Z% K
VAR11:=VAR8>=REF(VAR8,1) AND 买入底子;$ c0 e) Z% J ?6 [; E7 J
VAR12:=VAR9>=REF(VAR9,1) AND 买入底子;" P. u* u' b' P U2 A w
{STICKLINE(VAR12,70,80,8,0),COLOR108010,LINETHICK2;. V; X$ S* a0 r0 |* [$ n
STICKLINE(VAR12,70,80,7,0),COLOR109010,LINETHICK2;
' d3 R+ w) r! ]/ X( v# c% f3 K# ZSTICKLINE(VAR12,70,80,6,0),COLOR10A010,LINETHICK2;
9 ]0 _1 v: c3 F: J j! LSTICKLINE(VAR12,70,80,5,0),COLOR10B010,LINETHICK2;}
/ `5 q/ E. [0 m- B; t7 X* m( USTICKLINE(VAR12,70,80,4,0),COLOR10C010,LINETHICK2;+ ^) F+ e4 v; ]. D+ N0 u& C* ~
STICKLINE(VAR12,70,80,3,0),COLOR10D010,LINETHICK2;
/ ]. @( V% f+ j) tSTICKLINE(VAR12,70,80,2,0),COLOR10E010,LINETHICK2;
2 T$ I2 I! z! A1 V$ J6 V$ vSTICKLINE(VAR12,70,80,1,0),COLOR10F010,LINETHICK2;
: L( @ v- e, y6 O. X) H{STICKLINE(VAR11,60,70,8,0),COLORFF45FF,LINETHICK2;
% Y4 T: k8 ] J7 ^6 j1 ~& W. GSTICKLINE(VAR11,60,70,7,0),COLORFF55FF,LINETHICK2;
- Y$ @. g1 }* L( k( O9 S/ HSTICKLINE(VAR11,60,70,6,0),COLORFF65FF,LINETHICK2;7 @* A4 O/ u3 W4 }3 d. D
STICKLINE(VAR11,60,70,5,0),COLORFF75FF,LINETHICK2;} d8 `& j7 B. t5 |+ N) @$ n
STICKLINE(VAR11,60,70,4,0),COLORFF85FF,LINETHICK2;5 c/ k$ ]2 {! x; M
STICKLINE(VAR11,60,70,3,0),COLORFF95FF,LINETHICK2;
# {7 Y/ e { |8 DSTICKLINE(VAR11,60,70,2,0),COLORFFA5FF,LINETHICK2;; S. L1 K; @$ v2 Z
STICKLINE(VAR11,60,70,1,0),COLORFFB5FF,LINETHICK2;- G" ^3 v' R6 d: X5 {' R
STICKLINE(VAR10,50,60,4.5,0),COLOR1055FF,LINETHICK2;
" E2 R9 \4 Z1 M( USTICKLINE(VAR10,50,60,4,0),COLOR1066FF,LINETHICK2;( i2 S G9 ]2 o
STICKLINE(VAR10,50,60,3.5,0),COLOR1077FF,LINETHICK2;( @. K0 j! c2 ?+ S' {, v
STICKLINE(VAR10,50,60,3,0),COLOR1088FF,LINETHICK2;8 p& z5 T! i. o* ] p
STICKLINE(VAR10,50,60,2.5,0),COLOR1099FF,LINETHICK2;5 A) c- I0 i/ @1 E) ^0 u4 z
STICKLINE(VAR10,50,60,2,0),COLOR10AAFF,LINETHICK2;1 M8 P8 d$ w6 k
STICKLINE(VAR10,50,60,1.5,0),COLOR10BBFF,LINETHICK2;9 V9 j; T& N1 F/ P8 H& p" C0 P2 W i, o
STICKLINE(VAR10,50,60,1,0),COLOR10CCFF,LINETHICK2;{大盘均量线}
) E% v9 b; ]" A' [9 r8 o* |: H- K1 R; d# T& v
{以下语句是股道趋势及其交易点}3 A2 E- C- ~, B( B8 |+ O/ y6 B2 t
A1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; ( ^" z; Z% T2 K8 F n
A2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
9 e3 l! x* a7 H( J, l买入:=A1 AND A2;
5 k) [+ P6 x8 \% F4 a! iA3:=REF(CLOSE,1);+ V$ A( k$ ]5 T( M! Y' `( {
A4:=SMA(MAX(CLOSE-A3,0),6,1)/SMA(ABS(CLOSE-A3),6,1)*100;
$ P2 Q/ V( t8 E! X- }; W$ A- t/ Q+ d& G卖出:=CROSS(80,A4);
4 d+ f: G( L: H7 m9 P- v9 R$ [低吸线: 20,POINTDOT,COLOR1090FF;( s5 T& `4 j1 h: {# c
强弱线: 50,POINTDOT,COLORBBBB00 ;, X7 Q1 _5 g& y( O
高抛线: 80,POINTDOT,COLOR109C10;5 o4 F& L6 l5 `- L6 I4 }/ M
A5:=LLV(LOW,18);. r! g" o) F1 {1 [
A6:=HHV(HIGH,18);+ T* v6 F. u, S2 y8 ~/ }( f! Q
A7:=EMA((CLOSE-A5)/(A6-A5)*100,13);* X: u3 G6 b- N- ~+ n' T
股道趋势:EMA(0.618*REF(A7,1)+0.382*A7,3),COLORYELLOW,LINETHICK2;
+ ~$ g& P8 _5 t JPLOYLINE(股道趋势 |