The EA opens a grid of pending Buy and Sell stop and orders. The order is closed at a target profit or stop loss. The take profit and stop loss levels are virtual. This means that the broker does not know when the stop loss, take profit or trailing stop will trigger. The EA monitors these levels.
The EA contains risk management and money management functions. It works on demo. To trade on a real account, add the account number, Account_Number = 0.