Skip to content
All library documents

Comparing Randomized Trade Sequences and First-Position Direction

Article MQL5 code base

Summary

The document describes an experiment for comparing randomized trade sequences, focusing on whether the direction of the first position affects the outcomes. It contrasts alternating sequences that begin with a buy and those that begin with a sell, with the intent of opening positions at the same time and comparing the results. The configurable inputs include the randomization mode, minimum position size, stop-loss distance, and take-profit distance.

The description offers no performance data, market specification, sampling method, or details about how positions are closed and managed beyond the stated stop and target inputs. It therefore frames a comparison to investigate, rather than establishing that either starting direction is advantageous. Results would depend on the instrument, market regime, costs, and execution assumptions.

Key ideas

  • The experiment compares alternating buy-sell sequences that start in opposite directions.
  • Its central question is whether the first position's direction changes subsequent results.
  • Position size, stop-loss distance, and take-profit distance are configurable inputs.
  • The document supplies no empirical findings or methodology for evaluating performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.