Retracement Buy/Sell MT4 Expert Advisor Using Moving Averages: --------------------------------------------------------------- Indicators Used : EMA 20 Close EMA 80 Close Buy trades; ----------- Uptrend : EMA 20 > EMA 80 In uptrend , if a Candle closed below EMA 80 , wait for a candle to close above EMA 20 before the moving average cross over happens once a candle closed above EMA 20, check past 20 candles highest high , if it breaks before EMA 20 < EMA 80, place a buy immediately Stoploss is recent 20 candles lowest low target is 20 pips after target hits, if there is any such valid setup comes, repeat buy trades as per logic. Sell trades : ------------- Downtrend : EMA 20 < EMA 80 In downtrend, if a Candle closed above EMA 80, wait for a candle to close below EMA 20 before the moving average cross over happens. once a candle closed below EMA 20, check past 20 candles lowest low if price candle breaks lowest low before EMA 20 < EMA 80, place a sell immediately Stoploss is recent 20 candles highest high or moving average cross over which comes at first. target is 20 pips after target hits, if there is any such valid setup comes, repeat sell trades as per logic.