An EA based on an idea proposed by automatic.
draw a line on chart.
when an ma cross line up then buy 1.
when ma cross line down sell [ close previous order]
only 1 order open at any time.
so buy sell condition linked to line/ma cross.
usual parameters of tp, trailing stop, break even after x pips.
that would be very useful.
you could set line to round numbers, market open etc