多周期macd共振指标!
4 | Z& b9 n. ^9 M& M( T( `$ Z% V7 {) I& m& N
对于MACD指标,情有独钟,读三重过滤法,均线口诀歌等,有感而发了一个指标,既然MACD的核心是两根均线的分离聚合,那么可以用MACD的dif线提前发现当研究的均线的变向,比如短线8,12,中线20,长线60,120,250线,只要给他一个稍长一点的参照均线即可。研究出来以后,发现所有的大级别的涨都是共振,共振级别不同。涨幅不同,如果是牛市,可以适当放宽短线,多做中长线,熊市,尽量做共振级别的短线,有危险就跑。$ ^) J! q6 V7 N0 ?; C
所谓共振,就是各种周期均线一起发力,多周期MACD共振的力度六组,力度依弱到强,,在上涨的时候分五种,一种是超短线,一种是常规的短线,一种是月级别,一种是季级别,一种是半年级别,一种是年级别。年和半年级别只在于长线方向的判定,剩下四个级别可以作为共振的选择。长线在在空间上分为四部分,熊市结尾到零轴,零轴到牛市结束,牛市高点到零轴,零轴到熊市结尾,选取可以操作的分为紫色买进持仓,黄色减仓择机进场,淡蓝色抢熊市反弹,蓝色空仓离场。" y7 O0 f9 I: k4 l. J; x9 }( T
多周期macd共振指标:
! ~: R; R# n5 g. h3 k8 s0,COLOR666666;8 r8 Y5 `6 D6 `* P5 q
DIF1:=(EMA(C,6)-EMA(C,13));/ @" p8 c# \% _# N1 X
DEA1:=EMA(DIF1,6),COLORWHITE;8 m \. W$ V3 ~2 t
MACD1:=(DIF1-DEA1)*2;
: O7 n: R& F+ c# z! YMAMACD1:=MA(MACD1,2);; r# X* X0 B" h E' u; g
DIF2:=(EMA(C,12)-EMA(C,26));7 K; F) M* e& N% M, Z
DEA2:=EMA(DIF2,9),COLORWHITE;" ^) X! K0 h3 ?7 ? O
MACD2:=(DIF2-DEA2)*2;* q- B0 m( ?( _* C
MAMACD2:=MA(MACD2,2);! x$ k3 d+ D. w- |9 b& S
DIF3:=(EMA(C,20)-EMA(C,60));5 O- o1 m! K [' s; T
DEA3:=EMA(DIF3,10),COLORWHITE;( v! c+ U% K4 U7 b i# ~
MACD3:=(DIF3-DEA3)*2;: K7 n2 s1 Q- E; ~4 `
MAMACD3:=MA(MACD3,2);
0 J& d1 v+ Y% t* S. m$ {7 I# e1 `2 BDIF4:=(EMA(C,60)-EMA(C,120));+ S+ Y3 \& y& N1 A# c u: |
DEA4:=EMA(DIF4,10),COLORWHITE;% N( G3 k, @& r+ T$ c4 I5 t% S
MACD4:=(DIF4-DEA4)*2;
9 s+ j( i7 j- X1 t! BMAMACD4:=MA(MACD4,2);
* a3 Q) C2 q: @( ]# i( {DIF5:=(EMA(C,120)-EMA(C,250));
1 \, s1 I$ @9 U+ _DEA5:=EMA(DIF5,10),COLORWHITE;" d, O2 b% ?& b( M5 \9 f) N2 J
MACD5:=(DIF5-DEA5)*2;
+ d( [4 E+ f1 @( A5 ~2 Y$ OMAMACD5:=MA(MACD5,2);
% y" e1 N% ?* L- }' gDIF6:=(EMA(C,250)-EMA(C,500));
: b( d# f& z% }8 V" B* BDEA6:=EMA(DIF6,10),COLORWHITE;2 C: P3 R0 u' ]! d+ ]; C9 Q
MACD6:=(DIF6-DEA6)*2;
: u& o2 W/ H2 u! R5 M: SMAMACD6:=MA(MACD6,2);- h0 E1 s. K( C7 v2 }, J
A1:=DIF1>=REF(DIF1,1);$ {/ h3 G. [4 P% \0 @
A2:=DIF2>=REF(DIF2,1);
$ G8 I5 w! c& Y8 q& m- xA3:=DIF3>=REF(DIF3,1);
" z: A* D1 K+ RA4:=DIF4>=REF(DIF4,1);6 q b3 b: R" z, }* w" N
A5:=DIF5>=REF(DIF5,1);
" @% K. B& i: k1 N3 B% F% h! iA6:=DIF6>=REF(DIF6,1);( N1 e& O/ r0 a
B1:=DIF1<=ref(dif1,1);( S! y& `6 d# E7 d2 a( H
B2:=DIF2<=ref(dif2,1);
. a# c: z* z) [. y/ m+ ZB3:=DIF3<=ref(dif3,1);, Q7 ]' u! W) J& Z7 F- i
B4:=DIF4<=ref(dif4,1);. a$ k: h( O: Y2 E% Y
B5:=DIF5<=ref(dif5,1);
4 X0 N1 M6 G; M7 J! TB6:=DIF6<=ref(dif6,1);7 H* @+ j D7 }! x7 Q" u
1 b, q+ W1 ?3 ]
A7:=DIF6>0 ANDDIF6/ I$ T8 m5 v: ]" K
A8:=DIF6<0>REF(DIF6,1);{牛市初期}
8 U, |% }4 @( d5 d1 V; C+ q5 AA9:=DIF6<0 ANDDIF6! u7 g/ R3 I5 Q: z' B% H
A10:=DIF6>0 ANDDIF6>REF(DIF6,1);{牛市成长期}
. @ R9 U$ a$ Z2 n- b& b% \A11:=DIF4<=ref(dif4,1);. C3 c4 D5 T) | |
A12:=DIF5<=ref(dif5,1);/ a" z1 z. [% V q( d S. i& M! k _- I
# g+ P" H0 X; I8 ESTICKLINE(A6,0,1,3,0),COLORBLUE;
3 u- Y" O, _' ~5 s: iSTICKLINE(A5,1,2,3,0),COLORDDDDDD;2 t N% J* q( x& [1 Z5 r
STICKLINE(A4,2,3,3,0),COLORRED;
$ {5 Q) A/ I' w6 e1 \STICKLINE(A4 AND A3 AND A2,3,4,3,0),COLORMAGENTA;; W0 M8 l; y+ ^
STICKLINE(A4 AND A3 AND A2 AND A1,4,5,3,0),COLORYELLOW;" f- f) r' X1 |6 V
STICKLINE(B6,0,1,3,0),COLOR333333;
3 ]8 [2 O$ f; r! N- vSTICKLINE(B5,1,2,3,0),COLOR444444; m! L9 M; w7 t2 U- r F0 m
STICKLINE(B4,2,3,3,0),COLOR666666;
# U" B6 l8 m) ]5 I+ v% }3 pSTICKLINE(A6 OR A5,7.5,8,3,0),COLOR339999;
W9 W2 [* _, G: T, a* WSTICKLINE(A6 OR A5,7.5,8,1,0),COLOR33FFFF;! H" W0 M1 F, s& l) F( W7 w
STICKLINE(B5 OR B6,7.5,8,3,0),COLOR333333;- I$ Q# s1 o+ f$ x
STICKLINE(B5 OR B6,7.5,8,1,0),COLOR666666;
! s& z- A {2 kSTICKLINE((A6 OR A5) AND A4 AND A3 ANDA2 ,7.5,8,3,0),COLOR993399;
( ]8 W2 k) v3 T6 z7 `9 H5 DSTICKLINE((A6 OR A5) AND A4 AND A3 ANDA2 ,7.5,8,1,0),COLORFF00FF;
! U+ y* {. B' t; d$ l' hSTICKLINE((B6 OR B5) AND A4 AND A3 AND A2 ANDA1,7.5,8,3,0),COLOR666600;) X3 f2 i2 y6 y% M+ d! q+ B/ B
STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 ANDA1,7.5,8,1,0),COLORFFFF00; |