天堂星MACD實戰(zhàn)
MA3:MA(CLOSE,3); MA5:MA(CLOSE,5); MA7:MA(CLOSE,7); MA15:MA(CLOSE,15); ma30:ma(close,30); ma60:ma(close,60),coloryellow; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); 雙線合一:=count(cross(diff,dea),2)=1 ; 短均線多頭:=ma3>ma5 and ma5>ma7; 中均線多頭:=ma15>ma30 and ma30>ma60; aa:=雙線合一 and 短均線多頭 and filter(雙線合一 and 短均線多頭,2); stickline(diff>=dea,h,l,0.5,0),colorred; stickline(diff>=dea,o,c,5,0),colorred; stickline(diff<dea,h,l,0.5,0),colorf0f000; stickline(diff<dea,o,c,5,0),colorf0f000; 短線介入:drawicon(aa and diff<0.15,l*0.99,1); 大膽介入:drawicon(aa and diff>macd and diff<0.15,l*0.95,1); |
|