很简朴,GL20上穿0轴为建仓,GL50上穿0轴为走强,共同MACD柱子看多空' d$ B* x, ^) u' g! u, H. a
3 w9 z. [7 t$ D" @* T
源码如下:4 {1 |# m1 Z' m( j0 }: h
DIFEMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;
; k! o1 @3 I/ W1 [% } QDEA:EMA(DIF,9),COLOR00FFFF,NODRAW;7 p0 X2 G) i2 D! {. L
MACD:8*(DIF-DEA),NODRAW;9 |/ T7 B; |3 |* ]9 I Z
! h/ R6 W$ e; w0 k( a$ S
' w2 ]# g9 }: r/ b& M: m; e
3 f: q6 w: b/ d1 n3 B& iGLM:COST(50)-COST(20),COLORRED,LINETHICK0;0 }5 c, g9 ~0 I. M
GL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0;7 N3 ~6 A0 Y3 M. L( C- _5 @
GL20:EMA(C-COST(20),5),COLORFF00FF,LINETHICK0;
' C% V; e/ T8 U* i. xDRAWBAND(GLM,RGB(60,60,60),0,RGB(60,60,60));
! C7 a+ a. S* c3 SDRAWBAND(GL20,RGB(100,40,100),GLM,RGB(30,100,30));* g3 \$ b0 l8 r
9 ?# W$ `* y* D( Q/ v' zSTICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;- c, J6 {# h& q( t3 m
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;7 y2 B l r' t' G# S. s
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
* d @ b9 t# |5 I3 s5 R8 U% M4 C3 @$ O) m6 y. z! y( T
, F1 i1 X$ p; m8 Z1 }: \6 H
STICKLINE(MACD0,0,MACD,1.8,0),COLOR888888;
1 t1 S+ E3 R# nSTICKLINE(MACD0,0,MACD,1.1,0),COLORBBBBBB;0 ]1 m: `8 U& \, {+ m3 T
STICKLINE(MACD0,0,MACD,0.6,0),COLORDDDDDD;; b' ]. j0 N. b; i: V* }: }
/ F+ v8 \9 X, F, ^
STICKLINE(MACD>REF(MACD,1) AND MACDREF(MACD,1) AND MACDREF(MACD,1) AND MACD |