Download MetaTrader 5

Discussion of article "Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies"

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
182641
MetaQuotes Software Corp.  

New article Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies is published:

This article is intended for novice/beginner users who want to approach some kind of customization with functionality and without writing an EA from scratch.

In MetaTrader 5 we have a great possibility of expert trading with a minimal or zero knowledge (and skills) about programming language and coding of sources, thanks to the one MetaEditor feature: MQL5 Wizard. The Wizard (we are not going to explain its detailed working here in this article) is intended to generate finished programs (.mq5 and .ex5 files), algorithms and code. It benefits from using MQL5 Standard Library and its Trading Strategy Classes (which are great resources).

Exploring Trading Strategy Classes of the Standard Library: Customizing Strategies

There are lots of trading strategy classes present in the Standard Library actually, some of them are already very good and come from more-or-less famous studies about financial markets and profitability analysis. There is at least one strategy for each indicator from the standard set of indicators that come with MetaTrader 5.

Author: Harvester

Harvester Trading
365
Harvester Trading  
Interview with Victor Kirillin: Benefit from the MQL5 Wizard - Automated Trading Championship 2011
  • championship.mql5.com
Victor Kirillin is developing the Standard Library and is directly related to the MQL5 Wizard that is built to the MQL5 development environment MetaEditor 5. In this interview we discuss the features of the MQL5 Wizard in connection with the forthcoming Championship.
Marcus Duscha
176
Marcus Duscha  
thanks for getting in detail on threshold levels. I wish that MQ would get into similar detail with their own documentation :)
Harvester Trading
365
Harvester Trading  

Articles, usually can be seen also as an "expanding" of documentation.

All the essential that you need to know about such trading and EA style with Wizard mechanism, is in this article and in the interview linked above,

if one seeks more, is just the trader/programmer behalf of his/her 'trading-mind' phantasy and skills.

tao zemin.
402
tao zemin.  

Dear Harvester,

 I am not very sure about one thing in Section "Implementing Patterns". Hopefully you can confirm it here.

denote: strength=sum(m_pattern_X*weight of the pattern)/n.

in Case A: the calculated strength is 67, in Case B the calculated strength is -3. In Case C:strength=3. in Case D: strength=-67.

1. if strength> 40 ,but strength < 60. then a long position will be open, but donot close short positions.

2. if strength >60, open long position.and close short position.

3. if strength< -40 and strength>-60,a short position will be open , but long positions will not be closed.

4. if strength< -60 : open short position and close long position.

5. if strength >-40 and strength<40, no action will be taken.
To add comments, please log in or register