Login / Register
Add a review
Log in
Sign UP
Complete Pending Orders N Grid System MT5


Complete Pending Orders Grid System opens any combination of pending orders Buy Stop, Sell Stop, Buy
Limit and Sell Limit and closes all existing pending orders. Just drag the script to the chart of the desired currency pair.

Before setting all pending orders, a window for entering input parameters opens:

  • DeleteAllPendings – if true, all pending orders (for this currency) are deleted.
  • BuyStop – if true, a Buy Stop order is opened.
  • SellStop – if true, a Sell Stop order is opened.
  • BuyLimit – if true, a Buy Limit order is opened.
  • SellLimit – if true, a Sell Limit order is opened.
  • InitLot – the initial lot.
  • LotCoeff – if the value is 1, all pending orders have the same lot size.
  • InitStep – the difference between two consecutive orders in points.
  • StepCoeff – the step coefficient.
  • NumOfOrders – the number of orders.
  • Slippage – acceptable slippage.
  • MagicNum is a magic number.


  • When DeleteAllPendings=true, the script deletes the existing pending orders only for the current currency pair.
  • Do not forget to allow automatic trading on the “Expert Advisors” tab (“Tools” – > “Settings”).
Add review
Reviews ( 0 ):