苍狼MACD A' A3 u' e0 z( C+ }" O
{N1=3, N2=10,N3=10,N4=20,M=9}1 Y: G3 { u! C( ^
短波EMA(C,N1)-EMA(C,N2))*1000,LINETHICK0,COLORRED;
! U5 C! l. @! H2 {$ G6 p短均线:EMA(短波,M),LINETHICK0,COLORCYAN;
1 M: J+ m- Z' }. u! E% j8 QMACD:=2*(短波-短均线);
3 X# p9 v3 h2 y6 V8 z9 \ g* ~{中波}
( q) a5 R' a) M P9 a中波:(EMA(C,N3)-EMA(C,N4))*1000,COLORYELLOW;
, ?7 p/ f g' @+ [- A, Z中均线:EMA(中波,M),COLORBLUE;. t! t+ |3 O% c1 n8 D' y4 K- Q
MACD2:2*(中波-中均线),LINETHICK1;
d' D' U7 V5 z% NSTICKLINE(MACD2>=0,MACD2,0,2,1),COLORMAGENTA;
$ k# y, E k" ]' i: pSTICKLINE(MACD2=中均线,中波,中均线,6,0),COLORYELLOW;
+ ?* b3 V& d- M& w0 M" O( o" X2 s+ sSTICKLINE(中波=短均线,短波,DRAWNULL),COLORRED,LINETHICK2;
+ P1 H# x7 I/ ~' @ Q& P/ JEE:=CROSS(中波,中均线) AND MACD2>REF(MACD2,1) AND 短波>=REF(短波,1) AND 中均线>=REF(中均线,1);
9 k/ v- ~: k9 W3 N* o4 p) S$ {' U出来:=FILTER(EE,10);8 S7 G7 U0 o% c$ @% Y7 a' E
DRAWICON(出来,中均线,1); |