BuyLimit and SellLimit MQ5 buttons
BuyLimit and SellLimit Buttons opens any combination of Buy Limit and Sell Limit pending orders and closes all existing pending orders.
Before placing all pending orders, the input window is opened allowing you to modify all input parameters:
- DeleteAllPendings; if true, all pending orders (for the current currency) can be deleted.
- BuyLimit; if true, Buy Stop orders can be opened.
- SellLimit; if true, Sell Stop orders can be opened.
- InitLot; initial lot size.
- LotCoeff; next lot size is increased/decreased by the coefficient.
- InitStep; number of points between the first two pending orders.
- StepCoeff; next step is increased/decreased by the coefficient.
- NumOfOrders; number of pending orders.
- You have to allow automated trading on the Expert Advisors tab (Tools->Options).