Trade function OrderClose() returns true, if the trade is made successfully, and false, if not. If you have two opposite orders for a certain symbol, you can close them simultaneously, one by another, using the function OrderCloseBy(). It is also easy to see that the close price is not necessary to be specified in the function OrderCloseBy() for closing of opposite orders.


For this, you should use in the program code the OrderClose() function call with preset parameters. When programming in MQL4, you should well remember that an application program will work in the real-time mode and that, while it is processing some parameters, the values of these parameters may change.





Top stock trading websites uk
Options trade simulator
Method binary expression


Comments

  1. QARA_VOLQA

    You from shedding your money option, it does the rest of the work.

    23.06.2013

  2. milaya_ya

    Previous classes have at all times assumed that it's best to commerce expiry (30 minutes.

    23.06.2013