An EA based on an idea proposed by automatic :
buy/sell condition attached to x pts from open of candle.
if price x pts above candle open then buy 1 if price moves x pts below open [close buy position] sell one.
only 1 position open at any time.
when candle close then close buy/sell.
repeat on open next candle.
begin/end at time of day.
usual parameters and comments.
useful for day, 4h, 1 h candles.