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((L+H+2*C)/4,1)),5,1)*100,1)+50;
5 R: g1 N' z6 q. g3 d& gG1:=IF(-MMS>95,0,20); o' b- l+ T) g" G& q5 [* e
UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);
; D$ L9 T5 z5 d F. _ p$ {, O: k0 pKS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
! X' J5 ?/ Y4 vKS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);& p: v& o) ~% p T$ d( ?0 h( V
趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);# S' L. x; W9 {. m y
AA:=-100*(趋势线-CLOSE)/趋势线;# _- N0 ]0 Q( X
AC:=(EMA(AA,5) );- Q- V3 b3 N4 U% O3 h2 H
SSL:=EMA(CLOSE,3);
v; ^. H: y$ ]- |5 s& m6 hMMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);( U2 M: J# v+ W7 d( W
MM:=MA(MMV,1);7 N- n# q" ]1 s+ R% Y" ?
STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;
. Z/ a6 u- P9 I" q( j9 sSA:=(MM*0.985); F) [- n' v: {* P! q
SS:=(MA(CLOSE,5));' Y# W2 T6 i& D: q
DD:=(MA(CLOSE,13));6 Q. K& a) u, c0 W/ U7 \) k
GG:=(MA(CLOSE,21));, w9 x. N# O, C& \. k
捞钱手:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;$ m8 _; j6 {# ~" T, H7 a O% I
{IF(SSLREF(智能黄金线,1),VA1*0.97,'★买'),COLOR00FF00;
1 |; i3 ]* `3 [% Y- h1 i选手A:=MA(上收,3);" B- Z8 [2 @* N
箱顶A:=MA(REF(HHV(上收,6),1),3);# ^8 E- O2 w5 u+ I0 z( h
箱底A:=MA(REF(LLV(上收,3),1),3);9 O L- `/ b8 L2 R( ^
T1:=MA(上收,20)>=REF(MA(上收,20),1);0 p$ Y" o- ^! l' x y
T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1;
# k R6 q& o3 D: gT3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;
. w$ m( ^/ h% U1 D) X/ F' J. w7 Q4 z选手:=MA(上收,2);
( ]8 B/ ]0 f2 y; s6 U+ w箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
6 [+ ~8 U O+ {+ t( g2 |/ R2 e+ q箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
1 c. A# v0 F) `) JT4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
$ |2 G* B# e1 d% _9 t; PT5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;! U4 U9 w# F0 d6 ]
VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;: J2 E" z3 l* y/ f! Q) Y7 K/ ?: f# \
VAR2:=SMA(VAR1,3,1); P0 d; |; w. L( R k6 n) N0 n
VAR3:=SMA(VAR2,3,1);# z" o1 |" ]1 ]# E+ z; B% t, C# C
VAR4:=SMA(VAR3,3,1);7 D, c9 F: I+ m1 `* r) W, O
{DRAWTEXT(VAR3 >=VAR4 ,箱顶,'--中期好'),COLOR00FFFF;
, V1 y; O% ?4 h+ t VDRAWTEXT(VAR3B ,箱底,'--短期好'),COLOR00FFFF;
( F7 v9 [( w0 a7 _! CDRAWTEXT(A<B ,箱底,'--短期坏'),COLORF0F000;}BRDRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR30,LOW*0.96,'★'),COLORF00FF0;9 ^; y9 h9 @3 }! k
STICKLINE(C>=O,C,O,5,0),COLORRED;( I- i! j( m- ?' E2 y- J
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;" f* r9 ]7 Y/ p
STICKLINE(C |