DIFF:=EMA(C,10) -EMA(C,30);
DEA:=EMA(DIFF,3); MACD:200*(DIFF-DEA), COLORSTICK; STICKLINE(C>EMA(C,10),0,MACD,0,0); STICKLINE(C<EMA(C,30),0,MACD,0,0); VAR1:=(EMA(C,10)-REF(EMA(C,10),1))/REF(EMA(C,10),1)*1000; VAR2:=(EMA(C,30)-REF(EMA(C,30),1))/REF(EMA(C,30),1)*1000; 向上發(fā)散:STICKLINE(VAR1>=VAR2 AND VAR2>0 AND C>EMA(C,30),0,MACD,5,1),COLOR6666FF; |
|
來(lái)自: 九連燈 > 《我的圖書(shū)館》