Skip to content
All library documents

Vortex Indicator EA with Separate Long and Short Money Management

Article MQL5 code base

Summary

This Expert Advisor uses two configurable systems, one for long trades and one for short trades, based on Vortex Indicator signals. Its added money management changes the next trade's volume according to recent outcomes in the same direction. The example settings examine the latest five trades and reduce the next position to 0.01 lot if at least three were losses; otherwise, the normal size is 0.1 lot. Separate inputs allow the long and short systems to use different thresholds, volumes, and margin modes.

The document reports tests on EURAUD at the eight-hour timeframe for 2017 using default inputs, with stop loss and take profit disabled. It refers to chart illustrations but provides no readable performance figures or analysis, so the evidence cannot establish the system's profitability or drawdown behavior. The loss-triggered size reduction is a simple response to recent trade outcomes, and the post does not discuss the risks of position sizing, signal quality, or how results might change across markets and settings. The required indicator dependency is also noted.

Key ideas

  • The EA runs separate Vortex signal systems for long and short trades.
  • Each direction can use its own recent-loss threshold and normal or reduced position size.
  • The example reduces volume after a specified number of losses among recent trades.
  • The cited test used EURAUD on an eight-hour timeframe in 2017 without stop loss or take profit.
  • The document supplies no legible performance statistics, so test profitability and risk remain unclear.

Tags

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