SwingRun EA
- Experts
- Versione: 1.1
- Attivazioni: 5
SwingRun EA is a MetaTrader 5 Expert Advisor for trading confirmed swing levels on gold (XAUUSD). It scans one-minute price data for swing highs and lows, confirms each level after a pullback, and watches for price to return to an eligible level. Both buy and sell setups are supported.
How it trades
- By default, a swing must stand beyond the extremes of the prior 20 hours and retrace by $21 in gold price before it becomes a confirmed level.
- The EA applies a minimum age and an expiry to each level. If the bid returns within $2.10 of an eligible level from the relevant side, the EA can enter at market.
- The default initial stop is calculated $3.00 from the entry quote. Trailing starts after a $1.10 favorable move and follows the price by $1.10 under the default settings.
Position sizing and entry controls
Fixed-size trading starts at 0.01 lot. You can also set lots per $1,000 of balance or size trades using a percentage of balance at the initial stop, subject to the configured lot cap and your broker's volume limits. One EA position can be open at a time by default. Entry controls include a New York time window, an optional maximum spread, a pause around scheduled NFP and FOMC times included in the EA's calendar, and a switch that pauses new entries.
Getting started
- Attach one copy to your broker's gold chart and allow algorithmic trading. Use the broker's gold symbol, including its suffix if applicable. The EA uses one-minute history for signals.
- Set the EA's server-clock mode to match your broker. For a broker server on fixed GMT+0, select the fixed GMT-offset mode and enter zero.
- Test the settings on your broker's demo feed. The gallery shows a historical simulation with balance-based sizing using 0.1 lot per $1,000 of balance and a 1-lot cap. Spreads and the sequence of ticks affect entries and trailing stops.
Keep MetaTrader 5 or a trading VPS running if you want the EA to continue managing its trailing stop. Actual fills and losses can differ due to spreads, slippage, gaps, or broker restrictions. Backtests use historical data. Trading involves risk and results are never guaranteed.
