Signal Trader
- Experts
-
Allan Aparece Ninal
MetaTrader 5용 인디케이터와 전문가 어드바이저(EA)를 개발합니다.
작업 방식:
- 모든 인디케이터는 리페인팅 여부를 확인합니다. 신호는 마감된 봉에서만 결정되며, 모든 틱 테스트로 이후에 바뀌지 않는다는 것을 확인합니다.
- 모든 계산은 독립적인 기준 계산과 봉 단위로 비교합니다.
- 전략은 최적화에 사용하지 않은 데이터로 백테스트합니다. 우위가 없는 규칙은 그렇다고 분명히 밝히고 전략으로 판매하지 않습니다. - 버전: 1.9
- 업데이트됨: 2 12월 2026
Signal Trader is a free Expert Advisor for MetaTrader 5. It trades five signal sources: UT Bot, SuperTrend, Range Filter, Half Trend and Price Action Levels. Each trade gets an ATR stop and a fixed 0.01 lot. The EA reads closed bars only, so a signal never changes after its bar has closed. Try it on a demo account, or in the Strategy Tester, before you use it live.
It automates signals and promises no profit. Only two settings passed my tests, and every result is a backtest.
What's new in 1.9
- Maintenance: internal code clean-up. The signals, stops and exits are unchanged: the trades are the same as in 1.6.
- Version 1.8 was uploaded to this page by mistake; 1.9 replaces it.
In plain words
Indicators such as SuperTrend draw an arrow when a trend turns. Acting on every arrow by hand takes time and discipline.
Signal Trader does the acting. You choose one of five signal sources. When a bar closes, the EA checks whether that bar gave a BUY or a SELL. If it did, the EA opens a trade at the next bar's open.
Every trade has a stop loss, an exit that limits the loss. Its distance is a multiple of the ATR (average true range, the typical size of one bar's move). The lot is always 0.01, or the broker's minimum if that is larger.
An opposite signal closes the trade and opens the other way. The EA never adds to a position, never uses a grid and never averages down.
I tested 444 combinations of symbol, timeframe and indicator source, and 222 more for Price Action Levels. Two passed. About 6 would pass by chance alone. So this automates signals. It is not a strategy with a proven edge.
What it does, step by step
- A bar closes. The EA feeds that closed bar into the signal source you chose.
- If the source gave a BUY or SELL on that bar, the EA checks that a new trade is allowed. Trading must be on, the market open, and no trade of the same side already open.
- At the open of the new bar, it sends a market order for 0.01 lot. The stop loss is stop loss x ATR(14) of the signal bar.
- An opposite signal closes the trade and opens the other way. A same-side signal is ignored. An optional target, a multiple of the stop distance, is off by default.
- The panel on the chart shows the source, the chart, the preset state, the last signal, the position, the stop loss and the lot.
Worked example
XAUUSD H4, default inputs (SuperTrend 10 / 2.0, stop 3.0 x ATR), from the MetaTrader 5 Strategy Tester run of the preset. Times are server time. Lot 0.01.
| Time | Event | Price | Result in USD |
|---|---|---|---|
| 2023.07.07 20:00 | Opposite signal: the open SELL (entry 1916.29) closes, BUY opens, stop 1902.24 | 1927.01 | -10.72 (swap 0.19) |
| 2023.07.20 20:00 | Opposite signal: BUY closes, SELL opens | 1967.94 | 40.93 (swap -7.80) |
The BUY stop is 24.77 below the entry (1927.01 - 1902.24). That is 3.0 x an ATR(14) of about 8.26. The two reversals happened at the open of an H4 bar, after a signal on the bar before. One trade lost and one won. This is one example, not a result.
Key facts
| Type | Expert Advisor for MetaTrader 5. It trades automatically. |
| Trades | Yes. One position per symbol and magic number, in the direction of the signal. No grid, martingale or averaging. |
| Lot size | Always 0.01, or the broker's minimum if that is larger. It never grows. |
| Stop and target | Stop loss x ATR(14) of the signal bar (default 3.0). An optional target is a multiple of the stop distance, off by default. The Price Action Levels source has its own exits. |
| When a signal is final | When its bar closes. The EA reads closed bars only and enters at the next bar's open. A signal never changes afterwards. |
| Restart and timeframe change | The EA rebuilds its source from the last 3000 closed bars. It opens no trade for a signal found in that history. An open position stays open and is managed as before. |
| Signal sources | UT Bot, SuperTrend, Range Filter, Half Trend and Price Action Levels. One is active at a time. All are built in. |
| Tested presets | XAUUSD H4 with SuperTrend, and SOLUSD D1 with Price Action Levels. They passed my MetaTrader 5 tests. Other settings trade, but have no testing behind them. |
| Alerts | None, unless Dry run is on. Dry run sends each signal as a pop-up with sound and a push message, and opens no trade. |
| Other products needed | None. |
| Account | Hedging or netting account. Leverage 1:100 or higher. See the account sizes under Limits. |
Quick start
- Open an XAUUSD H4 or a SOLUSD D1 chart. A prefixed or suffixed name is fine. Attach the EA from the Navigator and keep Algo Trading enabled.
- Use the preset of that chart. XAUUSD H4 is the default. For SOLUSD D1, set Signal source to Price Action Levels. Both presets are listed under The validated presets.
- Read the Preset row on the panel. "validated" means this chart is a tested preset. "not validated" means the EA still trades, with no testing behind it.
- Test on a demo account first. To see signals without trades, turn on Dry run.
Who it is for
For traders who want the signals of five known sources executed by rule, with an ATR stop and a fixed 0.01 lot.
Not for you if you expect a strategy with a proven edge. Only two settings passed my tests, and every result is a backtest. It is not advice.
How it works under the hood
The rule
- Signal: read once per bar, from the last closed bar. It is never revised, so nothing repaints.
- Entry: at the open of the next bar, or on the first tradable tick if the market is closed. If the market stays closed, the signal is dropped at the bar after.
- Stop: stop loss x ATR(14) of the signal bar, from the entry price. If that is closer than the broker allows (stop level, freeze level and spread), the stop is widened to the broker's minimum.
- Skipped orders: a trade whose stop would lose more than 50% of equity is not opened.
- Opposite signal: closes the position and reverses. A same-side signal is ignored.
Closed bars, restart and timeframe change
On start, the EA feeds its source the last 3000 closed bars. A signal found in that history opens no trade. If the EA misses more than 40 bars, it rebuilds and skips that bar.
After a restart, a new timeframe or changed inputs, it does not enter on the bar that is already open. An open position of the same magic number is kept.
Signal sources
One source is active at a time. The calculations are built into the EA, so nothing else needs installing. Each follows the rules of my indicator of that name.
- UT Bot Signal Alerts: a trailing stop line at key value x ATR below or above the close. A BUY is a close that crosses above the line, a SELL one that crosses below. An optional EMA(200) filter keeps only signals on the trend side.
- SuperTrend Signal Alerts: bands at (high + low) / 2 plus and minus multiplier x ATR. A signal is the bar where the trend flips. An optional EMA(200) filter keeps only signals on the trend side.
- Range Filter Signals: a filter line that moves in steps of the range multiplier. A BUY setup is a close above a rising line. A signal is the first BUY setup after a SELL setup, and the reverse.
- Half Trend: a Half Trend flip, accepted only when ADX(14) is at least the minimum (default 25).
- Price Action Levels: support and resistance levels with three setups, described next.
Price Action Levels
- Levels: swing highs and lows of the last 250 bars that sit within a quarter of the ATR form one level, if touched often enough.
- Setups: Reclaim is a close back over a level broken in the last 5 bars. Retest is the first touch of a level broken in the last 10 bars. Rejection is a long wick into a level and a close back.
- Own exits: the stop sits beyond the level by 1 x ATR(14). The target is the next level, or a multiple of the stop. The trade closes when a bar closes back through the level, or after 20 bars.
- One trade at a time: new setups are ignored while a trade is open, instead of reversing.
- On the chart: dotted level lines and an arrow for every setup. An open trade shows its level, a red stop zone and a green target zone.
Inputs
| Input | Default | What it does |
|---|---|---|
| Signal source | SuperTrend | Which of the five sources trades. |
| UT Bot: key value, ATR period, EMA(200) trend | 2.0, 10, off | Size and length of the trailing stop line, and the optional trend side. |
| SuperTrend: ATR period, multiplier, EMA(200) trend | 10, 2.0, off | Length and width of the bands, and the optional trend side. |
| Range Filter: sampling period, range multiplier | 100, 3.0 | Settings of the filter line. |
| Half Trend: amplitude, minimum ADX | 2, 25 | Swing length, and the weakest ADX that still lets a signal trade. |
| Levels: setup, swing pivot, minimum touches, SMA(200) side filter | Reclaim, 5, 2, false | Which setup, how a swing is found, touches needed for a level, optional side filter. |
| Levels: stop beyond the level x ATR(14); target; target x stop; exit on a close back through the level; time exit, bars; draw | 1.0; Next level; 2.0; true; 20; true | Stop, target, exits and drawing of the Levels source. |
| Stop loss, x ATR(14) | 3.0 | Stop distance. |
| Take profit, x the stop distance | 0 (none) | Optional target. |
| Magic number; maximum slippage, points | 26101701; 30 | Tags this EA's trades; slippage allowed on the order. |
| Show the panel | true | The chart panel. |
| Dry run: alert each signal, open no trades; pop-up with sound; push to phone | false; true; true | Alerts only. The pop-up and push work only while Dry run is on. |
| Debug log for bug reports | false | See Found a problem? |
The defaults are the XAUUSD H4 preset. On any other chart, enter that chart's preset values before you trade live.
The validated presets
I tested 444 combinations of symbol, timeframe and indicator source: 37 symbols, H1, H4 and D1, four sources. Then I tested 222 for Price Action Levels: 37 symbols, H4 and D1, three setups.
Settings were fixed on 2020-01 to 2023-06 data. Each was then judged on later data, in Python and in the MetaTrader 5 Strategy Tester, on broker history. Two passed both.
| Item | XAUUSD H4 | SOLUSD D1 |
|---|---|---|
| Source | SuperTrend, ATR period 10, multiplier 2.0 | Price Action Levels, Reclaim, swing pivot 5, minimum touches 2 |
| Stop and target | 3.0 x ATR(14), no target | 1.0 x ATR(14) beyond the level; next level |
| MetaTrader 5 Strategy Tester | 2023-07 to 2026-09: 211 trades, profit factor 1.52 (backtest) | 2023-07 to 2026-10: 75 trades, profit factor 2.42 (backtest) |
A combination passes only if all five checks hold on the later data (2023-07 onward):
- At least 40 trades.
- A positive average trade that stands out from noise: t-statistic 2.0 or higher.
- Profit factor 1.2 or higher.
- Each half of the period profitable on its own.
- Still profitable when trading pauses around high-impact news.
Read this with care. In the settings period the same rule was weak (profit factor 1.11). On XAUUSD H4 the gain came from buys in a rising gold market. On SOLUSD D1 the broker's crypto history records a zero spread on many bars, so the tester spread is optimistic. A run with 1.5 times the spread stayed positive. Spread and swap are included. Commission is not.
Live and in the tester
- Live: on any other symbol, timeframe, source or settings the EA still trades, and the panel says "not validated". Those settings have no testing behind them.
- Strategy Tester: it trades any symbol and timeframe, so you can try it. A result outside the preset is not validated.
How to test in the Strategy Tester
- Open the Strategy Tester (Ctrl+R, or View > Strategy Tester).
- Choose Signal Trader as the Expert Advisor.
- Set Symbol and Timeframe to those of the preset you want to test.
- Set the model to "1 minute OHLC", the model my tests used.
- Choose a date range, for example 2023.07.01 to 2026.10.01.
- Use a deposit and leverage close to your own account.
- Open the Inputs tab, make the change below, and start the test.
| Preset | Inputs to change from the defaults |
|---|---|
| XAUUSD H4, SuperTrend | None. The defaults are this preset. |
| SOLUSD D1, Price Action Levels | Signal source = Price Action Levels |
You can try other settings the same way. A test of other settings is not a validated preset. A backtest describes the past only.
Automatic trading or signals only
By default the EA trades automatically. If you would rather decide yourself, set "Dry run: alert each signal, open no trades" to true. The EA then opens nothing. Each signal arrives as a pop-up alert, a push message, or both, with direction, price, stop loss, take profit and lot.
- Dry run works on any chart, validated or not.
- The pop-up and push inputs are on by default and only work while Dry run is on. Turn one off to keep the other.
- Push needs your MetaQuotes ID in the terminal options.
- In dry run the EA opens, closes and changes no trade, including trades you open by hand. The Strategy Tester only writes the signals to the log.
How it was checked
- Compile: 0 errors, 0 warnings. The release check (memory, optimised code, non-repainting, validation-style run) passed.
- Python against the EA: the signals matched 100%, and the exits matched 97.8% to 100% depending on the source.
- Strategy Tester: XAUUSD H4 gave 211 trades (profit factor 1.52). SOLUSD D1 gave 75 trades (profit factor 2.42), and these 75 trades match the Python research.
- Price Action Levels: validator-style runs, 0 errors.
- Passed in Python: XAUUSD H4 SuperTrend had 212 trades, t-statistic 2.05 and profit factor 1.52. Both halves were profitable, also with the news pause. SOLUSD D1 Price Action Levels had t-statistic 2.10 and profit factor 2.37.
- Failed, 443 of the 444 indicator combinations: 141 had no profitable setting in 2020-2023. Of the other 302, 44 made fewer than 40 trades and 258 had no clear positive average. Range Filter passed 0 of 111.
- Failed, Price Action Levels: USDCHF H4 Rejection passed in Python (t-statistic 2.04) but not in the Strategy Tester (1.76). There, three entries after the daily rollover were skipped because of the wide spread. The other 220 combinations did not meet the five checks in Python.
- XAUUSD M15, checked later: Range Filter and Half Trend lost money with every setting in 2020-2023. UT Bot and SuperTrend reached t-statistic 1.80 and 1.75. None passed.
Not tested: live results, and UT Bot, Range Filter and Half Trend on any validated chart.
Limits
- It is not a strategy with a proven edge. About 2.5 of 444 and 3.5 of 222 combinations would pass by chance alone.
- UT Bot, Range Filter and Half Trend are not validated on any chart. They trade, but with no testing behind them.
- Every result is a backtest. Commission is not included in it.
- The lot is always 0.01 (or the broker's minimum). There is no risk-based sizing.
- It needs the terminal running with Algo Trading on. New signals are missed while the terminal is off.
Account size
- Minimum balance: 1,500 USD (XAUUSD H4) or 2,000 USD (SOLUSD D1) at 0.01 lot.
- Recommended balance: 3,000 USD (XAUUSD H4) or 4,000 USD (SOLUSD D1) at 0.01 lot.
- Why: in the out-of-sample backtest at 0.01 lot, the largest drawdown was 638 USD on XAUUSD H4 and 986 USD on SOLUSD D1. The largest single losses were 272 USD and 173 USD, and the widest stops about 450 USD and 393 USD. These are backtest figures, not a limit on future losses.
- Standalone: you do not need to buy or install any other product named on this page.
FAQ
Does it repaint? No. Decisions use closed bars only. A signal does not change after its bar has closed.
What happens if I restart the terminal or change the timeframe? The EA rebuilds from closed bars and opens no trade for old signals. An open position stays.
Why does the panel say "not validated"? The symbol, timeframe, source and settings are not one of the validated presets. The EA still trades, but that setting has no testing behind it.
Can I trade other symbols? Yes, by default, but only the validated presets passed my tests. Dry run alerts you on any chart, with no trades.
Can I run it on a VPS? Yes, like any Expert Advisor. The terminal must be running with Algo Trading on.
Try it first
It is free. Run it in the Strategy Tester on history, with the XAUUSD H4 or SOLUSD D1 preset, and check each trade against its signal bar. You can also turn on Dry run on a demo chart. It then shows each signal as an alert and opens no trade. A backtest shows the past, not what comes next.
Works well with
These are workflow suggestions. I have not found that any pair gives better trading results. You do not need any of them.
| Product | How to use them together | Why |
|---|---|---|
| UT Bot Signal Alerts, SuperTrend Signal Alerts or Range Filter Signals | Put the indicator of your chosen source on the same chart and timeframe. | It draws the arrows the EA acts on. The EA has the calculation built in, so the indicator is optional. |
| EA Health Monitor | Give the EA its own magic number in its inputs. Attach the monitor to one chart of the account. | It shows one row per magic number, so you can read this EA's trades on their own. |
| Prop Rules Monitor | Attach it to one chart of the account while the EA runs. | It shows your distance to a prop firm's limits. It only watches and never closes anything. |
Several gold Expert Advisors follow the same market. Running them together adds to one exposure; this is not a tested diversification.
Related products
- Signal Trader MT4: the MetaTrader 4 edition.
- Indicator Arrow Trader: an EA that trades the arrows of an indicator you name. It uses a fixed 0.01 lot.
- All my products on MQL5
Custom work
Want an indicator for this EA, a custom version of it, several of my indicators or EAs combined into one, an EA that trades another indicator you use (mine or another developer's), or a new indicator or EA of your own? Order it through MQL5 Freelance and choose me as the developer: order through Freelance. Send your requirements, rules and the flow or algorithm you want. The whole order, payment and delivery stay inside MQL5 Freelance.
Found a problem?
- In the inputs, set "Debug log for bug reports" to true.
- Leave the EA running until the problem happens.
- Open the Experts tab in the Toolbox, copy the lines that start with "DBG".
- Send them as a comment on this product page, with the symbol, timeframe, EA version and what you expected to happen.
The debug log never contains your login, name, server, balance or equity. Set it back to false afterwards. I answer only through the comments on this page.
If you find it useful, a short review on this page helps other traders find it.
Questions: use the comments on this page or send me a message on MQL5.
Trading involves risk of loss. Backtest results do not predict future results.
