trade signal for entry 
===============================
buy signal conditions-

5 ema(close of candle) above 13 ema(close of candle) + price closing above 20 ema(close of candle) + macd line above macd signal line

when all three conditions are met buy signal

--------------------------------------------------------------------------

sell signal conditions-

5 ema(close of candle) below 13 ema(close of candle) + price closing below 20 ema(close of candle) + macd line below macd signal line

when all three conditions are met sell signal 

---------------------------------------------------------------------------------------

key is to take positions only when there is convergence of moving averages and above signal is generated, at rest of the time you can ignore signals.

most of the bad signals will be filtered , just need to be in direction of trend, and need to wait till prices breaks trendline after this conditions are met.
---------------------------------------------------------------------------------------------------------------------------------------------------------



this above conditions are what is useful to me, and i have EA in non mt4 software (by omnesys) that alerts me when all this three conditions are met(this ea is useful as it is hard to see all conditions are met all the time, in all timeframes), then i decide to trade manually whether to take this signal or not) 
when on higher timeframes this conditions are met and price starts to move from convergence points of moving averages then  trade can be taken on lower timeframes.

decision to open trade still remains manual, as market can invalidate this signal sometimes fast.

------------------------------------------------------------------------------------------------------------------------------------------------
i am not a coder, but you can see it by coding it in mt4 and watch for signal at convergence of moving averages in multiple timeframes , this conditions will filter false signals on macd more often

---------------------------------------------------------------------------------------------------------------------------------------------------


this is simple condition displayed in that omnesys software- but it just is above conditions 



EMA(CLOSE, 5) > EMA(CLOSE, 13) AND
CLOSE > EMA(CLOSE, 20) AND
( MACD(12, 26, 9, SIMPLE) > MACDSignal(12, 26, 9, SIMPLE)  AND
REF(MACD(12, 26, 9, SIMPLE),1) > REF(MACD(12, 26, 9, SIMPLE),2) AND REF(MACD(12, 26, 9, SIMPLE),0) > REF(MACD(12, 26, 9, SIMPLE),1))



EMA(CLOSE, 5) < EMA(CLOSE, 13) AND
CLOSE < EMA(CLOSE, 20) AND
( MACD(12, 26, 9, SIMPLE) < MACDSignal(12, 26, 9, SIMPLE)  AND
REF(MACD(12, 26, 9, SIMPLE),1) < REF(MACD(12, 26, 9, SIMPLE),2) AND REF(MACD(12, 26, 9, SIMPLE),0) < REF(MACD(12, 26, 9, SIMPLE),1))



-----------------------------------------------------------------------------------------------------------------------------------------