多周期macd共振指标!" k; m3 _( X9 r, L
/ _ W& S( J2 w1 i9 u' S
对于MACD指标,情有独钟,读三重过滤法,均线口诀歌等,有感而发了一个指标,既然MACD的核心是两根均线的分离聚合,那么可以用MACD的dif线提前发现当研究的均线的变向,比如短线8,12,中线20,长线60,120,250线,只要给他一个稍长一点的参照均线即可。研究出来以后,发现所有的大级别的涨都是共振,共振级别不同。涨幅不同,如果是牛市,可以适当放宽短线,多做中长线,熊市,尽量做共振级别的短线,有危险就跑。
* i1 a# M4 p- i { 所谓共振,就是各种周期均线一起发力,多周期MACD共振的力度六组,力度依弱到强,,在上涨的时候分五种,一种是超短线,一种是常规的短线,一种是月级别,一种是季级别,一种是半年级别,一种是年级别。年和半年级别只在于长线方向的判定,剩下四个级别可以作为共振的选择。长线在在空间上分为四部分,熊市结尾到零轴,零轴到牛市结束,牛市高点到零轴,零轴到熊市结尾,选取可以操作的分为紫色买进持仓,黄色减仓择机进场,淡蓝色抢熊市反弹,蓝色空仓离场。) Z* s" A, k; ^1 z" c
多周期macd共振指标:, Q8 p) S( D7 g# ^
0,COLOR666666;
6 c4 k$ y9 b: d5 Z# X. w3 O3 ]DIF1:=(EMA(C,6)-EMA(C,13));% b* m4 R# ^- E/ ?3 v) d
DEA1:=EMA(DIF1,6),COLORWHITE;9 g* |7 R0 }3 e* U$ [9 p0 V
MACD1:=(DIF1-DEA1)*2;% }; B( R; u; b
MAMACD1:=MA(MACD1,2);5 w/ \' M. q$ n$ h) {
DIF2:=(EMA(C,12)-EMA(C,26));
, ~$ w4 d' N9 e* EDEA2:=EMA(DIF2,9),COLORWHITE;4 F" j5 @. y8 U) l8 g! |2 Q. o
MACD2:=(DIF2-DEA2)*2;- J+ e, h( p+ h+ ]. v' e3 F7 h
MAMACD2:=MA(MACD2,2);8 G h+ a% F0 ^1 k2 A3 y( J; R
DIF3:=(EMA(C,20)-EMA(C,60));
. c) Y3 H% A5 q, F2 n8 W% m. nDEA3:=EMA(DIF3,10),COLORWHITE;: |! z1 j8 o8 J/ h# d
MACD3:=(DIF3-DEA3)*2;) f! S! X: W+ S- r- l
MAMACD3:=MA(MACD3,2);
" A9 @+ E; G; D" N4 j: }3 sDIF4:=(EMA(C,60)-EMA(C,120));& ]) O1 K2 F7 A9 T4 G0 F* T9 m
DEA4:=EMA(DIF4,10),COLORWHITE;3 J/ C l% O6 m, w
MACD4:=(DIF4-DEA4)*2;
2 p) p8 N5 e' S! D/ o( Z& sMAMACD4:=MA(MACD4,2);* `3 ^$ o; ~( W. B4 H- }7 ?
DIF5:=(EMA(C,120)-EMA(C,250));
* M+ |0 V# V: }5 Q* CDEA5:=EMA(DIF5,10),COLORWHITE;9 `1 G* I: `" |1 u" c, Q
MACD5:=(DIF5-DEA5)*2;# ~: B6 d- V Q% G1 D# r, j
MAMACD5:=MA(MACD5,2);
& g) F* }5 `* ^9 \, q+ ^DIF6:=(EMA(C,250)-EMA(C,500));
2 f0 q5 W' `9 t* C D5 D( S- d8 tDEA6:=EMA(DIF6,10),COLORWHITE;
& w; J: q' p. HMACD6:=(DIF6-DEA6)*2;6 I5 J1 n7 S( ~. @/ Z& f* [- b9 n
MAMACD6:=MA(MACD6,2);
; A3 _$ v# {& P: N7 XA1:=DIF1>=REF(DIF1,1);. b2 J8 a: W# S2 G! \3 l- ^
A2:=DIF2>=REF(DIF2,1);
" ^: \. X* S) X& mA3:=DIF3>=REF(DIF3,1);
! L" l* n0 H" a; HA4:=DIF4>=REF(DIF4,1);
3 u# Z: ~6 y3 R0 C' @A5:=DIF5>=REF(DIF5,1);
+ E7 s( `6 h7 q: G4 x7 X WA6:=DIF6>=REF(DIF6,1);
, T/ H! B7 s2 i+ {B1:=DIF1<=ref(dif1,1);
) H7 p3 L2 p6 \3 ^! XB2:=DIF2<=ref(dif2,1);
/ ^2 d0 r/ w0 z( ^B3:=DIF3<=ref(dif3,1);
! M3 V# E! M8 H& _' Q5 nB4:=DIF4<=ref(dif4,1);
" |7 o8 e T6 p6 `" U2 s; \; x& VB5:=DIF5<=ref(dif5,1);* e& W; j0 f& n# }
B6:=DIF6<=ref(dif6,1);2 s+ G( T0 h9 T: B4 T3 T7 v. N* _
& q# F, P8 S1 M+ R) m
A7:=DIF6>0 ANDDIF6
* `6 v# e# V/ I" q6 Z2 h: U( o) iA8:=DIF6<0>REF(DIF6,1);{牛市初期}
# {5 F9 ^% e( k9 r: c7 B- c3 l- \' FA9:=DIF6<0 ANDDIF6
+ N1 Z; ^) J) X4 e9 lA10:=DIF6>0 ANDDIF6>REF(DIF6,1);{牛市成长期}( Q: o1 U, {& h* T! e) e
A11:=DIF4<=ref(dif4,1);
! B: d: f: K$ Y1 A6 }+ h! aA12:=DIF5<=ref(dif5,1);# w+ W8 b' C- n8 V
5 R) A9 [9 _1 i1 v( D3 c3 U" L
STICKLINE(A6,0,1,3,0),COLORBLUE;
' |3 E( a1 S7 zSTICKLINE(A5,1,2,3,0),COLORDDDDDD;8 h0 c0 y) H$ d) D
STICKLINE(A4,2,3,3,0),COLORRED;9 z2 T5 b0 `5 [ c% @
STICKLINE(A4 AND A3 AND A2,3,4,3,0),COLORMAGENTA;$ H" D; M" l7 T; L
STICKLINE(A4 AND A3 AND A2 AND A1,4,5,3,0),COLORYELLOW;
& c2 _0 p5 L( I8 ?+ u' ASTICKLINE(B6,0,1,3,0),COLOR333333;
# j# U4 q( z) vSTICKLINE(B5,1,2,3,0),COLOR444444;% t, M3 t. i! V+ m3 y# o
STICKLINE(B4,2,3,3,0),COLOR666666;: O4 m4 ]0 d+ E7 Y# S
STICKLINE(A6 OR A5,7.5,8,3,0),COLOR339999;
/ w C6 Y$ c9 j- J2 c5 aSTICKLINE(A6 OR A5,7.5,8,1,0),COLOR33FFFF;
# R6 o7 A# O* Z% e; e; q6 J6 fSTICKLINE(B5 OR B6,7.5,8,3,0),COLOR333333;
( c; }- F) X/ NSTICKLINE(B5 OR B6,7.5,8,1,0),COLOR666666;# ~$ W7 ~+ O6 w7 p
STICKLINE((A6 OR A5) AND A4 AND A3 ANDA2 ,7.5,8,3,0),COLOR993399;
9 M; K9 s# y$ `6 g- [; w0 cSTICKLINE((A6 OR A5) AND A4 AND A3 ANDA2 ,7.5,8,1,0),COLORFF00FF;! l! X, M V6 A* B8 a* w. F" e
STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 ANDA1,7.5,8,3,0),COLOR666600;1 R5 S% F# ~( y8 U& }: h
STICKLINE((B6 OR B5) AND A4 AND A3 AND A2 ANDA1,7.5,8,1,0),COLORFFFF00; |