Jackstay Gold M5 Scalper
- Experts
- 버전: 1.0
- 활성화: 5
Jackstay Gold M5 Scalper is an intraday scalper for gold (XAUUSD) on the M5 chart. It trades only when a closed M5 candle points in the same direction as the M15 linear-regression trend and closes beyond the M5 linear-regression line. Every order is sent with a stop-loss and a take-profit. One position at a time. In the backtest below, the median trade lasted 12 minutes (average 24 minutes).
No grid, no martingale, no averaging, no pending orders, no DLL, no web requests, no data collection and no hidden behaviour. It runs on any account; there is no account lock.
Please read the drawdown figures before you buy. Default risk is 2% of equity per trade. On a full year of real ticks the maximum equity drawdown was about 37% on a USD 1,000 account and about 38% on a USD 10,000 account (45% in the first eight months at USD 10,000). The profit factor was only 1.06 to 1.09. A modest edge with that much drawdown can easily turn into a loss on a different sample or a live account.
How it trades
- Trend filter (M15, closed bars). A 20-bar linear regression is fitted to M15 closes. If the slope is up, only buys are allowed. If the slope is down, only sells are allowed. If the slope is flat, the EA does not trade.
- Entry (M5, closed bars). The previous M5 candle must be in the trend direction, its body must be at least 0.15 x M5 ATR, and its close must be beyond the 20-bar M5 linear-regression value. The EA then sends a market order on the new bar. An optional "strict cross" of the regression line is off by default.
- Session (on by default). New entries are allowed only in these server-time windows: 04:00-05:00, 06:00-09:00 and 16:00-17:00. The tested broker runs about GMT+2/+3. If your server time is different, turn the session filter off or accept that the windows will shift.
- Spread. New entries are skipped when the spread is above 40 points.
- Exits.
- Stop-loss and take-profit are both 2.0 x M5 ATR (an adaptive scale can stretch or shrink that multiplier). They are sent with the order.
- If price travels 80% of the way to the stop, the position is closed.
- If floating profit reaches 70% of the take-profit distance and then falls back by 10% (or 10 points, whichever is larger), the position is closed.
- If a fresh opposite signal appears while a position is open, the EA closes it and may reverse (still one position, not a grid).
Risk
- Risk per trade: 2% of equity at the stop, by default. This is aggressive relative to the drawdown below. Lower RiskPercent if you cannot accept a 35-45% decline.
- Lot size is calculated from equity, the stop distance, and the symbol's tick value, then rounded to the broker's volume min/max/step. If the calculated size is below the minimum lot, the minimum lot is used. On a small deposit that can mean more than 2% risk. If there is not enough free margin, or OrderCheck fails, the order is skipped and the reason is printed (no "No money" trade error is sent to the server).
- One position at a time (default). Works on hedging and netting accounts.
Tested results
Test conditions. Every tick based on real ticks, JustMarkets-Demo2 symbol XAUUSD.m, M5, leverage 1:100, default inputs (the same values shipped in this product). Spread from the real ticks; the tested account type charges no commission. 81,113,443 ticks, history quality 100% real ticks. Compiled with 0 errors and 0 warnings.
About the two windows. These defaults were already in the EA as provided; they were not fitted on this test. The first window (16 Nov 2025 - 16 Jul 2026) and the later window (17 Jul 2026 - 14 Nov 2026) are reported separately so you can see both periods. The tester period on the full-year report is 16 Nov 2025 - 14 Nov 2026.
| Run | Deposit | Net profit | Profit factor | Max equity drawdown | Trades |
| 16 Nov 2025 - 16 Jul 2026 | USD 1,000 | +747.33 | 1.06 | 728.30 (39.13%) | 1,430 |
| 17 Jul 2026 - 14 Nov 2026 | USD 1,000 | +683.55 | 1.09 | 856.97 (34.20%) | 830 |
| Full tester period | USD 1,000 | +2,102.55 | 1.08 | 1,761.75 (36.93%) | 2,268 |
| 16 Nov 2025 - 16 Jul 2026 | USD 10,000 | +2,513.72 | 1.02 | 6,489.47 (45.46%) | 1,430 |
| 17 Jul 2026 - 14 Nov 2026 | USD 10,000 | +9,436.43 | 1.09 | 11,477.67 (37.97%) | 830 |
| Full tester period | USD 10,000 | +13,701.17 | 1.06 | 14,027.82 (38.02%) | 2,268 |
- Full year, USD 1,000: 54.32% winning trades, average win +24.03, average loss -26.54. Longest losing streak: 13 trades (-236.79). Recovery factor 1.19. Sharpe ratio 4.35 (tester figure).
- Full year, USD 10,000: same 2,268 trades, average win +201.66, average loss -226.59. Longest losing streak: 13 trades (-2,247.04). Recovery factor 0.98. Equity drawdown 38.02% (45.46% in the first window, when profit factor was only 1.02).
- Median holding time 12 minutes, average 24 minutes, longest about 7 hours.
- The USD 10,000 first window made far less, relative to the deposit, than the USD 1,000 run, because risk-based sizing compounds. A profitable later window does not cancel the high drawdown.
Technical checks on other charts
1-minute OHLC model, JustMarkets-Demo2, default inputs. These runs only check that the EA does not raise trade errors on small deposits or other symbols. The EA always uses its M5 entry timeframe and M15 trend timeframe, even when you attach it to H1 or D1, so a gold D1 chart still takes M5 trades
. Use it on gold M5 only. No "not enough money" or failed OrderSend was logged after the margin/OrderCheck skip was added.- EURUSD H1, USD 100: -89.78, PF 0.52, 359 trades, 90.33% drawdown, 1,333 signals skipped for margin.
- EURUSD H1, USD 1,000: -987.54, PF 0.57, 974 trades, 98.89% drawdown.
- XAUUSD D1 chart, USD 100: -61.78, PF 0.84, 96 trades, 68.57% drawdown, 4,390 signals skipped for margin.
- XAUUSD D1 chart, USD 1,000: -961.59, PF 0.91, 2,226 trades, 96.83% drawdown, 50 skipped for margin.
- XAUUSD M5, USD 100, Sep-Nov 2026 only: -62.98, PF 0.76, 72 trades, 67.65% drawdown, 914 skipped for margin. A USD 100 gold account is too small for the default 2% risk and the 0.01 minimum lot.
Recommendations
- Symbol and chart: XAUUSD (or the broker's gold symbol, such as XAUUSD.m) on M5, preferably a low-spread gold account.
- Deposit: USD 1,000 or more at the default 2% risk. Smaller accounts may be forced onto the 0.01 minimum lot, which can exceed 2% risk or fail a margin check.
- Start on a demo account and watch it for several weeks before using real money. If the 35-45% tested drawdown is too large, lower RiskPercent or do not run the EA.
Inputs (v1.00 defaults)
| TrendTF / EntryTF / InpLength / InpATR | M15 / M5 / 20 / 14 |
| RiskPercent | 2.0 |
| ATRmultSL / ATRmultTP / ATR_AutoMode | 2.0 / 2.0 / true |
| StrictCross / InpMaxPositions | false / 1 |
| MinSL_ATRmult / AbsMinSLpts / MinBodyATR | 1.5 / 50 / 0.15 |
| MaxSpreadPoints / UseTradingSession | 40 / true |
| SL_ClosePercent | 80.0 |
| EnableProfitDropClose / ProfitTriggerPercent / ProfitPullbackPercent / MinProfitPullbackPoints | true / 70.0 / 10.0 / 10.0 |
| ShowDebug | false |
Disclaimer
These are historical simulations on one broker's data over one year. They do not promise future results. Trading gold with leverage can lose some or all of your deposit. The high drawdown in these tests is a real property of this setup, not a footnote.
