很简朴,GL20上穿0轴为建仓,GL50上穿0轴为走强,共同MACD柱子看多空7 v) ^$ ~" u. N* ~+ X: F
& M+ `' q- {$ u3 \: A源码如下: V" k3 w* X5 M. `# X
DIFEMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;
" Q" E9 B% |. C/ DDEA:EMA(DIF,9),COLOR00FFFF,NODRAW;7 v6 z8 b' e( I
MACD:8*(DIF-DEA),NODRAW;8 P7 [4 ]* N2 @- x# D
- W+ {& U$ U' U
1 \ {* M8 A# u* s7 O9 L. v
V; u! j, @$ t ^+ ^GLM:COST(50)-COST(20),COLORRED,LINETHICK0;
4 O" ?. z4 w2 R: A" A: _1 jGL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0;' {9 D$ E1 b& c6 ~4 m
GL20:EMA(C-COST(20),5),COLORFF00FF,LINETHICK0;
5 x5 U4 b' x& I- }7 X6 q; CDRAWBAND(GLM,RGB(60,60,60),0,RGB(60,60,60));
$ T1 Y* I/ L; D( t# ?2 _ ]4 NDRAWBAND(GL20,RGB(100,40,100),GLM,RGB(30,100,30));
U, n4 d# Q# L8 z! i3 `3 o- D6 ~1 Q: ?- [6 O
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
2 g7 Q$ r* l3 A8 _8 bSTICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;; n+ | E& ]3 L0 [1 o
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;& z% |7 x& o; Z+ `
1 v- X: w( J8 P$ [+ }: l
6 {* o% ?- ]8 `' }; {$ E) K; DSTICKLINE(MACD0,0,MACD,1.8,0),COLOR888888;9 B) p& Q! d. ]4 C& m
STICKLINE(MACD0,0,MACD,1.1,0),COLORBBBBBB;1 Q8 x5 ]( r( O3 V3 }
STICKLINE(MACD0,0,MACD,0.6,0),COLORDDDDDD;1 Z K4 q9 h$ `
- F( w; r" Z- t& V( \- ?STICKLINE(MACD>REF(MACD,1) AND MACDREF(MACD,1) AND MACDREF(MACD,1) AND MACD |