DIFEMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW; . t% G% e+ H8 ^# `- p
DEA:EMA(DIF,9),COLOR00FFFF,NODRAW; * s8 S* s, @9 H6 T) v. w6 ~
MACD:2*(DIF-DEA),NODRAW; ?- L: U8 v) P, P" k @2 ^
DIFK:=EMA(DIF,3); 1 T6 V1 d. f+ N$ w1 i0 K+ L
DIFD:=EMA(DIFK,3);
& O7 g& I- U5 ~& C; m/ uDKK:4*DIF-3*DEA,COLORFF00FF,NODRAW; $ y2 c: a3 u$ Q+ m" t
DDD:EMA(DKK,5),COLOR2588FF,NODRAW;
9 J. b2 _' m g( M* U: k8 G! zDRAWICON(CROSS(DDD,DKK),DKK,2); 9 h# \, G% s( K, E) d
DRAWICON(CROSS(DKK,DDD),DDD,1); 3 `; }* ]9 B X3 ?5 [+ l& n
TRLSX1:= MAX(MAX((HHV(DIF,13)-LLV(DIF,13)),ABS(REF(DIF,1)-HHV(DIF,13))),ABS(REF(DIF,1)-LLV(DIF,13)));
+ J1 W8 E1 w g5 j* z3 ~: mTRLSX2:=EMA(TRLSX1,13);
- J& G. c/ }% S4 L/ T9 E& ~TRLSX3:=REF(DIF,1)-REF(TRLSX2,1);
8 ]; _3 w2 Y% ~5 t8 W2 T( A支持:HHV(TRLSX3,13),COLORFFFFFF,NODRAW; ( f$ o$ O, d, ?6 ?% H z- E& K
RSV14:=(CLOSE - LLV(LOW,14))/(HHV(HIGH,14) - LLV(LOW,14))-0.5; 0 g; m0 Q; m7 o
K14:=EMA(RSV14,3),COLORFF00FF,NODRAW; ' k4 B; C; ]; q
D14:=EMA(K14,3),COLORGREEN,NODRAW;
* D2 Q3 y B# `' }7 Q5 oJ14:=3*K14-2*D14;
2 m- _! Z1 C1 c* yDRAWBAND(DIF,RGB(200,50,55),DEA,RGB(50,100,10));
( J: Q- A& ]2 W1 a4 F D8 iMACDXG2:=REF(COUNT(DIF>0 AND MACDREF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055; " E" T5 x* z2 i" E* r
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099; - N0 t1 J O% X0 v7 J6 O V6 s
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB; + a" o9 K( q: O5 y$ d1 f; E1 N0 i
STICKLINE(MACD0,0,MACD,1.8,0),COLOR888888; + C4 n; `+ p6 `' P
STICKLINE(MACD0,0,MACD,1.1,0),COLORBBBBBB;
; t8 r9 J) y- k# K+ sSTICKLINE(MACD0,0,MACD,0.6,0),COLORDDDDDD;
0 y8 X; t, B" e: ?) P5 j) B; \1 U# s# Z8 o- a( ~
STICKLINE(MACD>REF(MACD,1) AND MACDREF(MACD,1) AND MACDREF(MACD,1) AND MACD |