The Expert Advisor is for MT4 and it is a classic grid EA. Settings: OrdersType = BUY or SELL (choose in a dropdown selector) GridPriceStart = 36000 GridStep = 50 OrdersQuantity = 50 StopLoss = 20 At start of the EA, the robot should place OrdersQuantity orders starting from the GridPriceStart price level above and below and in the direction chosen with OrdersType. Example: If current price at start of EA is 35980, place 25 pending BUY stop orders from 36000 and above each 50 points and 25 pending BUY limit orders from 35950 and below each 50 points. Each order must have a stoploss attached of the desired quantity (StopLoss setting). Each time an order is closed by a stoploss, replace it automatically at the same open price it was triggered and with the correct type (pending limit or stop). There is no takeprofit, orders are only closed by stoploss and replace automatically.