Discussion of article "Developing a cross-platform grider EA (part II): Range-based grid in trend direction"

 

New article Developing a cross-platform grider EA (part II): Range-based grid in trend direction has been published:

In this article, we will develop a grider EA for trading in a trend direction within a range. Thus, the EA is to be suited mostly for Forex and commodity markets. According to the tests, our grider showed profit since 2018. Unfortunately, this is not true for the period of 2014-2018.

Using the basic settings, we reached the recovery factor of about 2, i.e. the same result as when using the final settings at AUDUSD.

This result can be improved further if we change the "Max orders at the same price" parameter we have not described in the article yet. Its default value is 33. This means the EA is allowed to open up to 33 positions at the same price in a single direction. In reality, this means unlimited number of positions at a single price since we never opened more than 10 positions at a single price during the tests.

How are positions opened at a single price? All is simple. Suppose that the price moves up and touches the nearest order. After that, the price rolls back so that the EA sets a new limit order above at the same price. After that, the price tests the level again touching a placed order, and so forth.

We have not considered the "Max orders at a single price" parameter previously since opening unlimited number of positions at the same price allowed increasing the EA profitability. But the case is different with AUDCAD. Perhaps, this has to do with the symbol price movement, but if we disable placing limit orders on prices that were already used to open positions, the result will be better. Thus, set the "Max order at a single price" to 1: 

Do not place orders if the level aready has positions, AUDCAD

Author: Roman Klymenko