MQL4/5 script for multiple orders of one overall position


Looking at capturing spikes in price and breakouts with large volume, but want to mitigate the risk of receiving slippage on those orders by breaking them down to smaller sizes.

Rather than having to manually break my trade up into lets say 10 individual trades, is there a script that can do this for me?

For example, 10 lots long on EUR/USD from one trade, but broken down into 10 individual orders.

Thanks for any help.