MACD制胜一绝!!!(含源码)
0
买入法一 suYbD!`( .&`apQD} DIFF:=EMA(CLOSE,6)-EMA(CLOSE,10); jp1e3 Cg DEA:=EMA(DIFF,5); Wc,`L$Jx MACD:=2*(DIFF-DEA),COLORSTICK; i g
. s%8,'3& 金叉信号1:CROSS(CLOSE,MA(CLOSE,34)) and CROSS(MA(CLOSE,3),MA(CLOSE,8)); &aa3BgxyE A1:=DIFF<REF(DIFF,1) and DIFF<0; OJh MM
- A2:=BARSLAST(A1) and MACD>0; 3_.%NgES| 买入信号:FILTER(A2,10) $=`d[04 KXpbee o,S(;6pDJ 买入法二 TKiYEh `~=NBN=tiL DIFF:=EMA(CLOSE,6)-EMA(CLOSE,10); zbGZ\pz DEA:=EMA(DIFF,5); VF b MACD:=2*(DIFF-DEA);
)eqF21\ @1' Y/dCyD 金叉信号2:CLOSE>=MA(CLOSE,34) and CROSS(MA(CLOSE,3),MA(CLOSE,8)); hm
k ~ A3:=CROSS(DIFF,MACD); I
$4>_D A4:=BARSLAST(A3) and CROSS(MACD,DIFF); 'Sesh'2
/ 买入信号:A4; Z@%A(nZ_ NqveL<r` e}P@7e h 使用方法:
A;*< 周期选择:周K线。 WF_QhKW|k 参数设置:均线3,8,34周 a5/Dz&>j6 MACD参数依次设置为:6,10,5 G]{^.5 买入法一:股价在34周均线以下上穿34周均线,3周均线金*8周均线。MACD指标:DIF在0线以上快速下滑至0线以下DIF金*MACD线,MACD红柱第一次出现,为买入信号。 l|iOdKr h 买入法二:股价在34周均线之上,3周均线金*(或已金*)8周均线,MACD指标,DIF在0线以上死*MACD线,快速下滑再次金*MACD线,MACD红柱第一次出现,为买入信号。
|