1. I'll set pending order "buy or sell ", " SL ", "TP" prices. eg. GBPUSD Sell at 1.544 , TP at 1.532, SL at 1.551 ; set the "Lot" eg. 0.2 and set "number of trades to open " eg. 5 trades.
2. If TP is achieved on Item 1 , repeat the same parameters per item 1. ( repeat as many times until a SL is reached ).
3. If SL is achieved on Item 1, stop the EA.
4. This should be able to run independent of any timeframe and any forex pair, commodity or stock. What will be required is to input the buy or sell, TP, SL , lot, and number of trades.