Download MetaTrader 5
To add comments, please log in or register
Do you want to become a well-known developer? Execute the orders of traders in the Freelance service!
MetaQuotes Software Corp.
Moderator
178190
MetaQuotes Software Corp. 2014.08.21 13:57 

New article MQL5 Cookbook - Multi-Currency Expert Advisor and Working with Pending Orders in MQL5 has been published:

This time we are going to create a multi-currency Expert Advisor with a trading algorithm based on work with the pending orders Buy Stop and Sell Stop. The pattern we are going to create will be designed for the intra-day trade/tests. The article considers the following matters:

  • Trading in a specified time range. Let's create a feature that will allow us to set up the time of the beginning and the end of trading. For instance, it can be the time of the European or American trading sessions. For sure there will be an opportunity to find the most suitable time range when optimizing parameters of the Expert Advisor.
  • Placing/modifying/deleting pending orders.
  • Processing of trade events: checking if the last position was closed at Take Profit or Stop Loss and control over the history of the deals for each symbol.

MQL5 Cookbook - Multi-Currency Expert Advisor and Working with Pending Orders in MQL5

Author: Anatoli Kazharski

/
To add comments, please log in or register