Configuring Indicator Signals, Position Sizing, and Orders in an Expert Advisor
Summary
This document describes an Expert Advisor that turns signals from custom indicators into trades. Users specify an indicator, its input parameters, and the buffers or lines that represent signals. The tool supports arrow signals, line crossovers, threshold crossings, and a three-point extremum mode. Later versions add separate opening and closing indicators, pending orders, and controls for replacing or following pending orders when signals or prices change.
Trade management settings include fixed lots or risk-based sizing tied to balance, equity, or free margin, along with order limits, stop loss, take profit, trailing stops, breakeven, slippage, and a bar-based pause after trades. Up to five indicator inputs can be exposed for optimization. The description is a configuration reference, not evidence that any signal is profitable. It excludes indicators with string parameters, and its results depend on correct buffer selection, signal timing, broker execution, and careful testing; using signals on an unfinished bar is discouraged.
Key ideas
- The Expert Advisor can read custom indicator arrows, line crossings, thresholds, or extremum signals.
- Opening and closing signals can use separate indicators in later versions.
- Position sizing can be fixed or linked to account funds, with optional risk and order controls.
- Stop loss, take profit, trailing stop, breakeven, and pending-order settings manage trade execution.
- Indicator inputs can be optimized, but the document provides no evidence that optimization yields robust results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.