Download MetaTrader 5

Discussion of article "MQL5 Cookbook - Multi-Currency Expert Advisor and Working with Pending Orders in MQL5"

To add comments, please log in or register
Are you a real pro? Share your knowledge with millions of traders!
MetaQuotes Software Corp.
Moderator
181278
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

shmyyy
58
shmyyy 2017.03.22 00:34  
Do forward test on real ticks - the optimisation result will be opposite.
To add comments, please log in or register