A、指标分析:3 Z8 X3 i1 m# Y, Q: N
{容维中华方圆图信号为"▲,◆,□,●"等,图中的均线趋势线也是容维原码的;多空转向的的信号设置为"蓝★卖 红★买"。当出现了白色 □ 提示后,又接着出现红▲图大概红★图以致一起出现时,就应该特殊研究下是否该进场了;当出现了绿色 ● 圆顶图提示后,应该开始减仓了,如果有接着出现了蓝★卖出信号,则不消夷由了,清仓吧。}4 z. z2 O! ^; G/ ?( K
5 f7 f- _ R" m3 w* W) yB、指标源码:2 Y) S% B4 ~/ e/ f
MA1:MA(CLOSE,6);
# ^. a! @$ z. o2 EMA2:MA(CLOSE,13);. |7 C% n- o6 T n# P" n
MA3:MA(CLOSE,62);
; a' p% D! X$ R2 O* }MA4:MA(CLOSE,120);
2 { O; t) {# MMA5:MA(CLOSE,250);
. r0 e/ l3 ]0 P) H* @X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
1 k( n0 [( j6 t* P- GY:=EMA(CLOSE,10);
a1 v4 \! e: V9 QLL:=REF(CLOSE,2);- U \- d V9 m2 z8 e; N- z
MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
6 `% S) \3 y) C1 rDB:=IF(((MM < REF(MM,1)) AND (MM > 79)),MM,0);
1 S, {7 p! g/ ZDRAWTEXT(CROSS(Y,X),(LOW * 0.985),'▲'),LINETHICK1,Color0080FF;1 ~: R5 L: G! I" W7 P- s
DRAWTEXT(CROSS(X,Y),(HIGH * 1.02),'◆'),LINETHICK1,color00ff00;7 g9 R, C9 d& ]" B9 `8 [* e; Q1 D
DRAWTEXT(DB,(HIGH * 1.02),'●'),LINETHICK1,color00ff00;8 J$ ~. T( ^, ^. F) G+ {
VAR1:=LLV(LOW,21);' j7 V! g2 @) t K9 o& Q5 p- |
VAR2:=HHV(HIGH,21);
& j' r2 {% P8 w% Y. RAK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
" _) q6 p, Z! e, M g1 C' U. W, qAK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
5 h* A) E0 x. L# r; L% HDD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);
0 R% \8 S; V& dVAR3:=LLV(LOW,55);
+ `: Z2 f. i3 S# H2 ?VAR4:=HHV(HIGH,34);
K* k. w$ z0 u/ G7 H4 _: tVAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
) V# u( ^( v/ T: lVAR6:=((AK + VAR5) / 2);1 `; f4 j$ H! e+ |* k: k
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
~; }, i0 h- |: F% BVAR8:=EMA(VAR6,5);
2 Z3 ~" E7 X5 DBB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);2 o' }( a# b+ h5 G* d3 y
AB:=CROSS(AK1,AK); ?2 M) k$ P6 Y2 p. u: _" A
BB1:=(CROSS(AK1,BB) AND (BB < 30));
# \# ]/ u: Y+ {CD:=(BB1 * 0.6);
/ z/ U" A2 r `DRAWTEXT((CD = 0.6),(LOW * 0.99),'□'),LINETHICK2,color33CC99;" O. G* f* E; x# M2 \6 p% u$ ?0 i
DRAWTEXT((AB = 1),(LOW * 0.99),'□'),LINETHICK2,colorwhite;
: ?5 n$ b. T9 Pc1:=(CLOSE+LOW+HIGH)/3;
& k9 q( o! R3 l# i0 P* i; \c2:=EMA(c1,6);- `/ T. _# b, @9 d0 ~0 i, V
c3:=EMA(c2,5);; e6 t4 r* G) ^* P5 m
c4:=CROSS(c2,c3);
, w4 l& s5 ~4 r' ~7 p3 N; N+ ~DRAWTEXT(c4,LOW/1.01,'★'),COLORRED;
# B+ I% S2 t& ?- @8 c# Xc5:=CROSS(c3,c2);
( y, F z$ b- P4 A: }* p: \. t1 V1 tDRAWTEXT(c5,HIGH*1.03,'★'),COLOR00ffff;2 Z6 P! o; t( X2 S
STICKLINE(close>=open,open,close,5,1),colorred; 2 [. _' u4 _! Q" Z2 A! b2 ?
STICKLINE(open>close,close,open,5,0 ),ColorFFFF00;
! k1 [. \( n9 K9 c: D2 C, ZSTICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred; ! \( I$ c' a2 O# |2 X
STICKLINE(close>=open,open,low,0.5 ,0),colorred;
3 F5 c; A3 y% w3 b' u( j+ @STICKLINE(open>close,close,low,0.5 ,0 ),ColorFFFF00;
$ F, C9 A2 y6 C" \" P+ J" n7 JSTICKLINE(open>close,open,HIGH,0.5 ,0 ),ColorFFFF00;! U2 {7 O7 U9 x$ L
C、选股公式:5 |) X( \4 |) [
一、2 O( o6 s3 Q0 S0 J+ O8 |
{红▲、红★同时出现选股}0 e& I W# O$ [
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
/ X, a- O7 K g- z" B2 EY:=EMA(CLOSE,10);
9 ?" [) V8 j3 \6 T4 I红▲:=CROSS(Y,X);$ R$ h4 t8 @( B/ { l
c1:=(CLOSE+LOW+HIGH)/3;& F4 E# Z$ F3 ]' F* \
c2:=EMA(c1,6);
* m- O; H3 q6 f: [7 Y' ec3:=EMA(c2,5);
0 @* H3 e5 b' J( |4 Y* U z红★:=CROSS(c2,c3);9 s1 t, |3 q5 G( v' T& V
红▲ and 红★;; L) G& ^) B( H n8 b, m/ s8 M
4 W' d2 ?3 W0 B9 X% I, n: s二、
$ a6 f/ q& I0 ?2 y& Y8 c. h6 ^{白色□选股}4 ?( C' l% y4 G% y# w0 o. I. o8 ?
VAR1:=LLV(LOW,21);# k1 P0 ~: Q ]( s1 n, s
VAR2:=HHV(HIGH,21);
% [$ e6 k7 S9 j0 ]: _. Z FAK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);8 W8 {& I7 c k- K8 O
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);% j" E" y4 j6 ?) j: q/ A% }; ^
AB:=CROSS(AK1,AK);
/ {& v/ L1 i" e% e4 ZVAR3:=LLV(LOW,55);2 N: H( k0 A0 }& H
VAR4:=HHV(HIGH,34);- y( q4 z1 y9 G ]; X9 \4 x
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
4 T4 D( p0 \8 ZVAR6:=((AK + VAR5) / 2);
6 Q1 G$ N: a; Y) W1 b/ Q+ aVAR8:=EMA(VAR6,5);
& B7 x4 s" e0 @5 l! x$ NBB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
, M$ B+ \- i4 J i+ H2 uBB1:=(CROSS(AK1,BB) AND (BB < 30));
0 L! f* H+ y2 M0 wCD:=(BB1 * 0.6);1 q# E M4 D5 }2 G& B" V; J
白色□:AB =1;; ^* t. `6 @0 W# n: a
' G; g* W1 v5 ?. q+ V2 n三、
9 `" o! {4 t3 i$ K) ~6 L{红▲选股}7 f5 K& ~1 B/ R8 A) U3 W# t
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
6 Y) n% ]4 O* Z" v# {8 i9 q) n7 E1 zY:=EMA(CLOSE,10);
/ Q" S! e5 J/ q. w. M& s红▲:CROSS(Y,X);' F$ ^: b5 v ?- ?1 s( C" v" u
* K1 {9 _/ U2 E: U: c; m9 u
四、1 N$ X% `6 k- o4 {# \7 d
{红★选股}2 B: d+ t) g# h
c1:=(CLOSE+LOW+HIGH)/3;7 g9 n" q6 L# q L4 s( }/ c+ a! i
c2:=EMA(c1,6);4 _+ w" E1 m/ ~5 C# ~
c3:=EMA(c2,5);8 {& S* I' T, {: B U
c4:=CROSS(c2,c3); |