EMA Crossover Entries with Candle-Close Signals and Fixed Risk Levels
Summary
This document describes a simple moving-average crossover Expert Advisor. It buys when a fast exponential moving average crosses above a slower one and sells when it crosses below. Signals are checked at each newly closed candle, which is intended to prevent repeated entries during the same bar. The listed defaults are a 9-period fast EMA, a 21-period slow EMA, a 300-point stop loss, a 600-point take profit, and a fixed lot size of 0.10. Stop loss and take profit can each be disabled by setting the corresponding input to zero.
A magic number identifies trades opened by the advisor, helping distinguish them from other trades. The description supplies entry rules and configurable parameters, but no instrument, timeframe, exit logic beyond the stated stop and target, backtest, execution assumptions, or performance evidence. The defaults therefore describe an example configuration, not evidence that the crossover is profitable or appropriate across markets.
Key ideas
- A buy signal occurs when the fast EMA crosses above the slow EMA, while a downward cross triggers a sell.
- Signals are evaluated on a new candle close to avoid duplicate entries within a bar.
- The described defaults use 9- and 21-period EMAs, a 300-point stop, and a 600-point target.
- Stop loss and take profit can be disabled, and position size is configurable.
- A magic number labels the advisor’s trades; no performance testing is reported.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.