Fixed Point Crosser
- Experts
-
Worapong Longwong
MQL5 developer specialising in Expert Advisors, indicators and trading utilities for MetaTrader 5, with a focus on gold (XAUUSD) and major forex pairs.
- 30+ products published on the MQL5 Market (Expert Advisors, utilities and indicators), all passing Market validation. - Versione: 1.0
- Attivazioni: 5
Simple and transparent EA: enters on a fast / slow EMA crossover and gives every trade a fixed stop-loss and a fixed take-profit set in points (default 2000 / 500).
Fixed Point Crosser is a fully automated Expert Advisor for MetaTrader 5 - EMA crossover entries with a fixed stop-loss and take-profit in points. You always know the exact distance of the stop and the target before the trade opens. It is designed for XAUUSD (gold) and also runs on forex majors such as EURUSD and GBPUSD.
How it trades
- Entry - the fast EMA (default 9) crosses above the slow EMA (default 21) on the last closed bar for a buy; crosses below for a sell.
- Stop-loss - a fixed distance in points from the entry price (default 2000 points).
- Take-profit - a fixed distance in points from the entry price (default 500 points).
- Points are the symbol's own points (the last digit of the quote): on 2-digit gold 2000 points = 20.00 USD of price movement, on 5-digit EURUSD 2000 points = 200 pips.
- One trade at a time - the next cross is taken only after the current trade has closed at its stop-loss or take-profit. Optional: close early when the EMAs cross the other way (off by default).
Risk management (built in)
- Every trade is opened with a stop-loss. There is no martingale, no grid and no averaging down.
- Position size: fixed lot (default 0.01) or, with Fixed lot = 0, risk % of equity; lots are normalised to the broker's min / max / step and reduced if free margin is not enough.
- Daily loss limit: no new trades for the rest of the day once equity is down the set % from the day-start equity.
- Max spread filter, optional trading-hours filter, and no orders while the market is closed or trading on the symbol is disabled.
- Stop-loss / take-profit are always placed outside the broker's stops and freeze levels.
- Works on hedging and netting accounts (on netting accounts it opens only when the symbol has no other position).
- One position at a time per magic number; signals are evaluated once per closed bar (no repainting).
Inputs
| Input | Default |
|---|---|
| Signal timeframe | H1 |
| Fast EMA period | 9 |
| Slow EMA period | 21 |
| Stop-loss (points) | 2000 |
| Take-profit (points, 0 = none) | 500 |
| Close early when the EMAs cross back | false |
| Risk per trade (% of equity), used when Fixed lot = 0 | 1.0 |
| Fixed lot (0 = size from risk %) | 0.01 |
| Maximum lot per trade (0 = broker maximum) | 10.0 |
| Daily loss limit (% of day-start equity, 0 = off) | 3.0 |
| Max spread (points, 2-digit gold scale: 100 = 1.00 USD; 0 = off) | 50 |
| Max slippage (points, same scale) | 30 |
| Trade only inside the hours below | false |
| Trading start hour (server time, 0-23) | 1 |
| Trading end hour (server time, 0-23) | 22 |
| Show status panel on the chart | true |
| Magic number (change it to run several instances on one symbol) | 26112201 |
Recommended
- Symbol / timeframe: XAUUSD on the default timeframe shown above; also forex majors. Test other timeframes in the Strategy Tester first.
- Account: hedging or netting, any deposit that allows the broker's minimum lot with a sensible risk %.
- VPS: recommended for uninterrupted operation.
Important notes
- No trading system can guarantee profit. Past performance, in the tester or live, does not guarantee future results.
- Always test the EA in the MetaTrader 5 Strategy Tester and then on a demo account before using real money, with your broker's own data and spread.
- Hours are in your broker's server time.
- With the default 2000 / 500 points the stop is four times the target, so the strategy needs a high share of winning trades. Both distances are inputs - test and choose your own.
- Start with a small lot and use money you can afford to lose.
