很简朴,GL20上穿0轴为建仓,GL50上穿0轴为走强,共同MACD柱子看多空
$ d( E* |3 I8 o1 i# ?) N+ D& X6 q! p4 x4 s- o7 o
源码如下:
5 g% f, l( l$ A4 I4 }DIFEMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;
* U( f0 q9 A# }9 \0 o' ^DEA:EMA(DIF,9),COLOR00FFFF,NODRAW;
' S* m$ F* R3 m/ |MACD:8*(DIF-DEA),NODRAW;/ O; v# j* R4 g# ?6 Z0 l6 p
$ n. H5 y; b( o; c! |+ ^1 ~- U
~4 f% N$ i# h. ?1 |. [8 z; L4 P2 B& M6 B! A0 }
GLM:COST(50)-COST(20),COLORRED,LINETHICK0;
4 B. A( s( s, s# VGL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0;6 e6 ]- @% T5 O _# l, E
GL20:EMA(C-COST(20),5),COLORFF00FF,LINETHICK0;
5 o4 F1 Z! w) M4 K1 sDRAWBAND(GLM,RGB(60,60,60),0,RGB(60,60,60));
2 P+ C: N! s& p$ G5 T6 ~' q/ PDRAWBAND(GL20,RGB(100,40,100),GLM,RGB(30,100,30));* _& V, F! q ^
" O7 ?0 J( `) |; c% M- q4 M
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
: }2 G+ Z4 R# x# l) R/ e# \# DSTICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
8 q- R" _9 K) ?STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;% z' L8 z" i" {0 e
/ z" ], g' b1 {8 ]. M
1 k8 F! r/ U+ `* q4 E- X4 ]STICKLINE(MACD0,0,MACD,1.8,0),COLOR888888;) s" u9 ~8 V1 | m {5 }
STICKLINE(MACD0,0,MACD,1.1,0),COLORBBBBBB;, _0 i( K, \' _2 |7 A z8 S N; j) T* R
STICKLINE(MACD0,0,MACD,0.6,0),COLORDDDDDD;
' P! j" O2 q/ K! M4 G, _4 R% ^) n
STICKLINE(MACD>REF(MACD,1) AND MACDREF(MACD,1) AND MACDREF(MACD,1) AND MACD |