MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF
2 \1 \1 o+ P( A2 C0 n5 f((L+H+2*C)/4,1)),5,1)*100,1)+50;# p4 w# g, p, Z2 q) Q* n6 L f
G1:=IF(-MMS>95,0,20);
, D! K# g0 g! }& I3 J" V- KUOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);6 g/ H% A& ]' @7 ^! t1 D* a: Y# W
{嫡均线:=REF(C,2)*2-REF(C,5),LINETHICK0,COLOR550055 ;/ J& H% e7 E4 m# s' x( Z
后日均线:=REF(C,1)*2-REF(C,4),LINETHICK0,COLOR008800;
, t7 P: t% E: R7 M1 z8 h5 w8 R大后天均线:=C*2-REF(C,3),LINETHICK0,COLOR008888;}
8 g9 w8 T: X6 n; ?0 |" b: DKS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));1 t$ S/ S, M0 A8 a, \) q" C
KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
- W! E" l% w2 P# I- S趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);4 V' Q# } I( v4 r/ u- T
AA:= - 100 * (趋势线 - CLOSE) / 趋势线;2 x. u; k: i- V: n$ \ I
AC:=(EMA(AA,5) );2 }" J& M8 n# ?
SSL:=EMA(CLOSE,3); U5 n) ^! O$ `8 p# t u2 i
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);) e r9 m5 ?) P/ s, z2 L) Y7 y
MM:=MMV;
; i7 T& v- Q ?1 U7 p& ?( n{STICKLINE(((SSL > MM) ),SSL,MM,0.1,0),COLORRED;}1 h0 J! m y; U
SA:=(MM * 0.985);& P# i* b& V( K8 q% a( b
SS:=(MA(CLOSE,5));+ z, h' f8 f+ ^% f" @. Q
DD:=(MA(CLOSE,13));
& ^$ H4 ]+ @& _+ d9 v: T1 n* N7 D3 {GG:=(MA(CLOSE,21));7 O" p9 _2 a( f- C
捞钱手:IF(((SSL > MM)),MM,SA),LINETHICK2,COLORWHITE;4 G, b3 j9 @+ a
VAR2Y:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
. P# @* o- d& }, RVAR3Y:=(((CLOSE - REF(OPEN,29)) / REF(OPEN,29)) * 100);
3 |" g! I/ L* B" Y {& K; W1 vVAR4Y:=REF(CLOSE,1);6 K/ l$ q3 v. j. l
VAR5Y:=((SMA(MAX((CLOSE - VAR4Y),0),6,1) / SMA(ABS((CLOSE - VAR4Y)),6,1)) * 100);
. }4 h8 K( i9 hVAR6Y:=((SMA(MAX((CLOSE - VAR4Y),0),12,1) / SMA(ABS((CLOSE - VAR4Y)),12,1)) * 100);& \: }, G3 L9 o- t3 l
VAR7Y:=((SMA(MAX((CLOSE - VAR4Y),0),24,1) / SMA(ABS((CLOSE - VAR4Y)),24,1)) * 100);, ]4 j& F, K! M1 M
VAR8Y:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100);
) d. ?0 ^; a' b4 |/ A* sVAR9Y:=SMA(VAR8Y,3,1);1 x: K+ r/ B8 S
VARAY:=SMA(VAR9Y,3,1);. @3 [# ]* _8 R( o
VARBY:=((3 * VAR9Y) - (2 * VARAY));
. m6 L/ j/ y" D1 {) l: U, t4 gVARCY:=(CROSS(VAR5Y,10) AND (VAR3Y < (0 - (28 * 20))));: ?! U8 u7 Q# X/ u, g
VARDY:=((100 - CROSS(76,VAR5Y)) AND (VAR3Y > (5 * 20)));
, Y _3 [9 Q& M, z6 \DRAWICON(((CROSS(76,VAR5Y) AND (VAR3Y > 5)) ),(HIGH * 1.01),5),COLORFFFFFF;
, ]& b' P: a0 N4 L9 WVAREY:=((((CROSS(VAR9Y,VARAY) AND (VARAY < 10)) AND (VAR3Y < (0 - 30))) AND (VAR2Y > 3)) * 30);
7 {( f( M- ^5 B! V* vVARFY:= - ((((VARAY < 11) AND (VAR5Y < 15)) AND (VAR3Y < (0 - 26))) * 10);
1 C: V. f( F8 ] h. V4 ZDRAWICON((CROSS(VARFY,(0 - 9))),(LOW * 0.998),4);
( v9 q, i1 K. R$ {能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) * 4)));: s& G* q) k* P0 F6 U
上开:=O;
( j; @2 R* f) v; d3 a! p上收:=C;. k; G' E% N& d8 N" ~& y
上高:=H;
: b7 ~. ?8 A0 O& r: C) p上低:=L;
6 t% p# J4 @5 WJJ:=(上开+上高+上低)/3;
) I/ r( W; a& Q# M# H& n" I4 dA:=EMA(JJ,4);. s( |$ P0 R) A/ _
B:REF(A,1),POINTDOT,COLORYELLOW;
. v$ ?5 T6 s3 C% a5 | y% v( x智能黄金线:A,COLORYELLOW,LINETHICK1;
6 {- j g6 s* |4 I1 O _/ LVA1:=EMA(上收,8);
: i+ ^- Q. k. X( Q7 |: V! SVA2:=EMA(上收,20);/ `9 o/ I0 L4 C: ^, a9 i5 K
DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,'止损'),COLORYELLOW;+ E6 ?" ^ q" Q$ F5 X$ `$ G
DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 智能黄金线>REF(智能黄金线,1),VA1*0.96,'买入'),COLOR00FF00;' h+ h2 K5 [* `/ V$ @ X9 P+ w; \
选手A:=MA(上收,3);- Q$ n! {. A/ o/ e9 {/ I. O
箱顶A:=MA(REF(HHV(上收,6),1),3);
/ j C' d2 g/ ~; P' {- n& |' |7 M箱底A:=MA(REF(LLV(上收,3),1),3);
) E+ A! ]" i) ?+ B! LT1:=MA(上收,20)>=REF(MA(上收,20),1);
! g9 z/ h+ A" \' V- uT2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1;
" B7 E) g" T* U7 J9 ^T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;" o3 O$ P' u$ [+ [* D/ d8 `
选手:=MA(上收,2);
* m2 o7 u* x% I- Q T0 C' f0 H3 k8 A箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;; t: I5 C( X: B: ^
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
* x' y! O* M; x- M7 q% ^- @T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
" [8 W/ V& B1 @) W! a1 OT5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;
' C1 }. _* q0 U4 Z2 S9 ?VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100; {* D" @/ W: e# M3 {. q* W' _
VAR2:=SMA(VAR1,3,1);
& Q% N7 ~( A5 y3 K0 SVAR3:=SMA(VAR2,3,1);
g. N" B: L* ?9 e3 G. AVAR4:=SMA(VAR3,3,1);! J, i; L/ J6 J+ n
DRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR30,箱底,'★'),COLORF00FF0;
: [$ g- P3 I, l8 JDRAWTEXT(CROSS(VAR4,VAR3) AND VAR4>75 ,箱顶*1.03,'减磅'),COLORF0F000;
7 v2 ?$ j K) m: t5 dVAR111:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
/ b9 b& [* E0 C+ }' ]( NVARD:=CLOSEREF(趋势线1,1)OR 智能黄金线>REF(智能黄金线,1)),CLOSE,OPEN,3,0),COLORRED;" W5 y; U9 s" O
STICKLINE(PK3 AND(趋势线1>REF(趋势线1,1)OR 智能黄金线>REF(智能黄金线,1)),H,L,0.5,0),COLORRED;: T) f( K; y2 o% |/ L- B
STICKLINE(VAR19 AND(趋势线>REF(趋势线1,1)OR 智能黄金线>REF(智能黄金线,1)),CLOSE,OPEN,3,0),COLORRED;
5 n. _, _: r$ x* |STICKLINE(VAR19 AND(趋势线>REF(趋势线1,1)OR 智能黄金线>REF(智能黄金线,1)),H,L,0.5,0),COLORRED;' E6 ~ X) ^: O5 @) W9 o
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;* A. d' |6 [5 ^7 I. A
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);% _3 T9 h4 y; Y! }9 e% G: V' N: U
STICKLINE(买进条件 AND 捞钱手>智能黄金线 AND 智能黄金线>REF(智能黄金线,1),L,L*0.998,7,0),COLORWHITE;
/ s! y8 p |# N3 Q* G i' h* ~8 I买线:=EMA(C,2);# v; }* y9 E7 P9 V2 G. U5 f
卖线:=EMA(SLOPE(C,21)*20+C,42);
# U3 G( r/ A" o& k/ N S6 oDRAWTEXT(CROSS(买线,卖线)AND 箱顶>=REF(箱顶,1),箱底,'★'),COLOR00FFFF;
& s& X3 U" p O1 i) jSTICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;, v; O" S0 B0 U1 g/ u9 ?
STICKLINE(CROSS(买线,卖线),H,L,0.5,0),COLOR00FFFF; |