Skip to content
All library documents

Tick-Reversal Expert Advisor with Profit Exit and Loss Limit

Article MQL5 code base

Summary

This document describes a simple countertrend Expert Advisor. When price moves by at least a configured number of points within a single tick, the system opens a position in the opposite direction. It closes the position once it has any positive profit, while a separate point-based loss limit is available as a parameter. Position size is also configurable.

The example mentions a shift threshold of three points and a spread of two, but provides no backtest, performance statistics, or detailed execution rules. It does not explain how the loss limit interacts with the profit exit, how positions are managed if price keeps moving against them, or how trading costs and slippage affect results. The description is therefore a sketch of an entry and exit concept, not evidence that the strategy is profitable or robust.

Key ideas

  • The system opens against a price move that reaches the configured threshold within one tick.
  • A position closes as soon as it registers a positive profit.
  • Position volume, the entry threshold, and a point-based loss limit are configurable.
  • The document provides no performance evidence or detailed risk and execution analysis.

Tags

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