Came across an idea that showed best backtest results when buying/selling majors fx pairs after 6 consecutive closed up/down days and exit based on same rule. Can an EA be created for this?
i.e. Enter Long/Short on closed after X consecutive days of daily bar closed higher/Lower. Exit after Y consecutive days of daily bar closed lower/higher.
i.e. Enter Long/Short on closed after X consecutive days of daily bar closed higher/Lower. Exit after Y consecutive days of daily bar closed lower/higher.