AI Swing Point Stop Order Trader
- Experts
- Version: 1.2
Let the market prove the breakout: pending stop orders at the latest swing high and swing low.
How it works
On every new bar of the signal timeframe (H1 by default) the EA finds the latest confirmed swing high and swing low using a fractal rule.
A Buy Stop is placed a few points above the swing high and a Sell Stop a few points below the swing low, as long as price has not already broken that level.
Each order carries an ATR based stop loss and take profit. A swing level is kept for a limited time (24 hours by default) and is then dropped.
When the swing levels change, the orders are moved to the new levels. When one order is filled, the opposite order is deleted (OCO mode), so only one position is ever open.
Break-even and ATR trailing protect the open trade.
Key features
- Automatic fractal swing high and swing low detection
- Buy Stop and Sell Stop orders with ATR based SL and TP
- Order expiry per swing level
- OCO option, with a safety rule that never allows two positions at once
- Orders follow new swing levels on each new bar
- Risk based lot size with a maximum lot cap
- No grid, no martingale, no hedging
- Every trade is opened with SL and TP
Recommended
Forex majors, XAUUSD and indices, any chart timeframe, signal timeframe H1.
Inputs
Risk percent, maximum lot cap and magic number. Swing bars and lookback, entry offset in points, expiry hours, OCO switch, ATR period with SL and TP multipliers, break-even and trailing settings.
Risk note
Trading involves substantial risk. Test on a demo account first and use a risk level you are comfortable with.
