Positive Swap Basket
- Experts
- Versão: 1.0
- Ativações: 5
Positive Swap Basket — Multi-Symbol, Swap-Positive Counter-Trend Basket Expert Advisor for MetaTrader 5 (M15)
One chart, ten symbols. This Expert Advisor runs on a single M15 chart and trades a list of ten symbols at the same time. It only enters in the direction that earns positive swap at your broker: it buys a symbol only when its long swap is positive, and sells only when its short swap is positive.
Entries are counter-trend. When the previous bar moves against the trend by more than a per-symbol multiple of ATR, the EA opens a first position in the swap-positive direction. If the price keeps moving against the basket, it adds positions at intervals of at least 12 hours per symbol, with the lot size multiplied by 3 at each step (martingale escalation — see the risk warning below). All positions of one symbol form a single basket, and the whole basket is closed when its combined profit, including swap, reaches that symbol's money target.
Profit targets are defined in JPY terms and are automatically converted to your account currency, so the EA behaves the same on JPY, USD, EUR and other accounts.
Backtest (original EA, GBPCAD chart M15 trading 10 symbols, 2021-01-01 – 2026-11-16)
- Initial deposit: JPY 1,000,000, leverage 1:1000, real ticks
- Net profit: +79.8% (JPY +797,641)
- Profit Factor: 2.02
- Win rate: 78.4% (2,440 trades; 2,305 long / 135 short — heavily long-biased, as swap signs dictate)
- Max equity drawdown: 9.36%
- Longest single holding period: about 85 days
Product-build verification (2026-11-20)
The shipped build reproduced the original backtest exactly on a JPY account: net +JPY 797,641, PF 2.02, 2,440 trades, max equity drawdown 9.36%. A USD account run (USD 10,000, 2025-01-01 – 2026-11-16, a shorter window) also finished profitable — net +USD 1,370.24, PF 1.92, 735 trades, max equity drawdown 11.98% — confirming that the automatic currency conversion behaves the same on USD accounts.
Tested symbol list (defaults)
GBPCAD, AUDCAD, EURUSD, AUDUSD, USDJPY, GBPJPY, AUDJPY, EURJPY, CADJPY, EURAUD — each with its own ATR multiplier and profit target baked in from the tested configuration. The list is a recommendation, not a restriction: the EA runs on any symbols you set.
Inputs (17)
- InpSymbols — symbols to trade (comma separated)
- InpDefaultLot — base lot (default 0.01)
- InpLotMultiplier — lot multiplier per added position (default 3.0, martingale)
- InpDefaultATRMult — default ATR multiplier, the entry threshold (default 3.5)
- InpDefaultTarget — default basket profit target, JPY terms, converted automatically (default 900)
- InpATRPeriod — ATR period (default 14)
- InpMaxPositions — max positions per symbol (default 15)
- InpMagic — magic number (default 123456)
- InpExitScope — exit scope (default: whole-symbol basket)
- InpProfitIsRelative — scale the target by basket volume (default false)
- InpMaxSpread — max spread in points (default 50)
- InpUseAutoMM — auto money management (default false)
- InpAutoEquityStep — equity per MM unit
- InpPositionsPerUnit — positions per exit unit (default 0 = whole symbol basket)
- InpMinIntervalMinutes — minimum minutes between entries per symbol (default 720)
- InpEquityStopPercent — close all and stop at this drawdown % (default 40; 0 = off)
- InpCustomSettings — per-symbol ATR multiplier and profit target
Recommendations
- Chart: any single chart, M15 recommended (entries read the chart timeframe)
- Account type: hedging (the basket logic holds multiple positions per symbol; on netting accounts it degrades to single-position behaviour)
- Leverage: 1:500 or higher
- Deposit: JPY 1,000,000 (approx. USD 6,500) or equivalent for the default 0.01 base lot, sized for martingale escalation across up to 10 symbols — not for a single position
- Broker swaps matter: entries follow the swap signs at your broker. A broker whose swaps differ from the tested environment will trade differently, and a symbol whose swap turns negative in the traded direction will simply not be traded in that direction.
Risk warning — please read before buying
This EA uses martingale lot escalation (x3 per added position) and does not use a stop loss. Positions can stay open for weeks (about 85 days at the longest in the backtest) until the basket turns profitable or the equity stop triggers. With the default base lot of 0.01, the lot sequence reaches 2.43 lots by the sixth added position on one symbol, and up to 15 positions per symbol across 10 symbols are possible. In the backtest period the maximum equity drawdown was 9.36%, but substantially larger drawdowns are possible, especially if several symbols move against their baskets at the same time. The built-in equity stop (default 40%) is the last line of defence, not a guarantee. Past performance does not guarantee future results. Test on a demo account first and size your account for the escalation, not for the first position.
