Saturday, December 2, 2017

BuyStop and SellStop MQ5 buttons

BuyStop and SellStop MQ5 buttons


BuyStop and SellStop Buttons opens any combination of pending orders Buy Stop and Sell Stop and close all existing pending orders.





Input parameters:


Before pending orders open a window of the input parameters, which can be edited:



  • DeleteAllPendings: in meaning true all pending orders (for the current currency) can be removed.

  • BuyStop: in meaning true authorizes the opening of orders Buy Stop.

  • SellStop: in meaning true authorizes the opening of Sell Stop orders.

  • InitLot: The size of the initial bid.

  • LotCoeff: Next lot size, increased or decreased by the coefficient.

  • InitStep: The number of points between the first two pending orders.

  • StepCoeff: The next step, increase or decrease the coefficient.

  • NumOfOrders: Number of pending orders.





Attention:



  • You must allow automated trading in the "Expert Advisors" (Tools->Options).


BuyStop and SellStop MQ5 buttons

No comments:

Post a Comment