forex software

Create and Test Forex Strategies

forex software

eas-guide:expert-advisors-plus

This is an old revision of the document!


Expert Advisors Plus

Expert Advisor Plus includes additional features, which can be tested in the MetaTrader's Strategy Tester only.

Expert Advisors Plus trades as an ordinary EA Studio Expert Advisor by default. All of the additional options are initially switched off.

Grid (Averaging down)

The Grid option enables possibility to open new positions at determined distance and amount when the market moves against our initial entry. Effectively, it adds lots to a losing position (Averaging Down). The Averaging Down moves the aggregate position price towards the market and sometimes recovers the loss.


Grid Trading Balance/Equity Chart


Grid Inputs

EA Studio Plus - Grid Inputs

Enable Grid (Averaging Down)

The Grid functionality is disabled by default. When disabled (false), the Expert trades as the ordinary EA Studio's Expert Advisor.

Turn it on (true), to enable the Grid's functionality.

Grid distance (initial, pips)

Grid distance is the vertical distance in pips between the Grid's entries. The initial distance sets price of the first Grid entry below or above the initial entry by the strategy.

Grid distance sizing

 Grid distance Sizing Example

  • Equal distance (pips) - all grid entries are equally spaced from the initial entry.

Example: Initial at 1.2000, grid entries at 1.1950, 1.1900, 1.1850 (50 pips apart each).

  • Increment distance (pips) - each grid entry adds a fixed increment to the previous spacing.

Example: With initial 50 pips and increment 20, entries are at: 50 pips from initial (1.1950), then 70 pips below (1.1880), then 90 pips below (1.1790).

  • Scale distance (coefficient) - each spacing is multiplied by the coefficient.

Example: With initial 50 pips and scale 1.25, entries are at: 50 pips from initial (1.1950), then 62 pips below, then 78 pips below.

  • Fibonacci (sum of previous two) - each Grid distance is equal to the sum of the previous two distances

Example: 100, 100, 200, 300, 500, …

Grid increment distance (pips)

  • Grid increment distance (pips) - 50 - the increment value added to the spacing for each subsequent grid entry. Only used when “Grid distance sizing” is “Increment distance (pips)”.

Grid scale distance (coefficient)

  • Grid scale distance (coefficient) - 1.5 - the multiplier applied to the spacing for each subsequent grid entry. Only used when “Grid distance sizing” is “Scale distance (coefficient)”.

Grid maximum distance (pips)

  • Grid maximum distance (pips) - 400 - It sets the maximum distance between the Grid's entries.

Grid volume sizing

Grid Volume Sizing Example

  • Equal volume (equal to the initial entry) - all grid entries use the same lot size as the initial entry

Example: If initial is 0.05 lots, all grid entries are 0.05 lots

  • Increment volume (lots) - each grid entry adds a fixed increment to the lot size.

Example: If initial is 0.05 lots and increment is 0.01, entries are: 0.06, 0.07, 0.08 lots.

  • Scale volume (coefficient) - each lot size is multiplied by the coefficient (like Martingale).

Example: If initial is 0.05 lots and scale is 1.25, entries are: 0.06, 0.08, 0.10 lots.

  • Fibonacci (sum of previous two) - each entry volume is equal to the sum of the previous two entry volumes.

Examples: 0.01, 0.01, 0.02, 0.03, 0.05, 0.08, 0.13, …

Grid increment volume (lots)

  • Grid increment volume (lots) - 0.01 - the increment value added to the lot size for each subsequent grid entry. Only used when “Grid volume sizing” is “Increment volume (lots)”.

Grid scale volume (coefficient)

  • Grid scale volume (coefficient) - 1.25 - the multiplier applied to the lot size for each subsequent grid entry. Only used when “Grid volume sizing” is “Scale volume (coefficient)”.

Grid maximum total positions

  • Grid maximum total positions - 10 - the count of the initial entry and the subsequent entries

Grid pair position closing

  • Grid pair position closing - it enabled an advanced algorithm for pair closing the grid's positions.

When off (false), the Grid closes all positions at once on a closing signal: Take Profit (pips), Take Profit (currency), Indicator's closing signal, Account or Position's protection…

See more here: Grid Pair Position Closing

Grid Take Profit (currency)

  • Grid Take Profit (currency) - the Grid's closing logic monitors the floating profit/loss of the positions. It closes all (or partial) positions when the floating profit is higher than the set value. It is required by the “Grid pair position closing” closing logic.

Grid Stop Loss (currency)

  • Grid Stop Loss (currency) - the Grid's closing logic monitors the floating profit/loss of the positions. It closes all positions when the floating loss is lower than the set value.

Grid Pair Position Closing