we need to make an expert that is super simple.
the idea is like this.
The EA starts with either (BUY or SELL) position.
if it profits 20 pips (Variable value that we can change) then it must close the profitable trade and opens a new trade in the opposite direction. For Example (if price on oil is at 55.00, the EA opens BUY position and price went up by 20 pips, then the EA should close the trade at 55.20 and opens SELL position. if price goes down by 20 pips again, it closes and if price goes up, then it should leave it open. also the EA must always open trades with FULL EQUITY.