Sek Tax Prefund
- Experts
-
Donizeti Aparecido Alves Ferreira Junior
Software developer and founder of D7 Bots, building algorithmic trading tools for MetaTrader 5. - Version: 1.11
- Activations: 5
SekTaxPrefund is an MT5 Expert Advisor whose audited commercial configuration trades USDSEK with M30 economic data. It is a SHORT-only, calendar-driven strategy built around recurring Swedish tax-account funding dates. The hypothesis is that taxpayers and intermediaries may need SEK before statutory tax deadlines, creating temporary SEK demand and downward pressure in USDSEK during the prefunding window.
The strategy does not download a tax calendar at runtime. Swedish due-date rules, business-day adjustment and Swedish holidays are calculated deterministically inside the EA.
Version 1.11 is independent of the host chart symbol and timeframe for market selection. InpTradeSymbol selects the broker's exact USDSEK symbol name and defaults to USDSEK; the economic timeframe is fixed internally at M30. The host chart only supplies OnTick events. There is no automatic symbol search, no fallback to another market and no alternate validation-only trading path.
Trading logic
- Trading instrument: configured USDSEK symbol; economic timeframe M30.
- Direction: SELL only.
- Entry time: 14:00 Stockholm on the Swedish business day immediately before an eligible adjusted tax-account due date.
- Exit deadline: 10:00 Stockholm on the associated due date.
- Commercially audited stop: structural stop above the highest completed M30 bar high from 08:00 to before 14:00 Stockholm on the entry date, plus 0.10 × ATR(20).
- Commercially audited target: 1.50R, while the 10:00 due-date deadline remains active.
- Spread guard: current spread must be no more than 0.10 × ATR(20).
- ATR and structural-session data use completed M30 bars.
- Default trailing, breakeven and generic max-hold management remain disabled.
- Mirror direction remains disabled.
- Magic number remains 26090612.
- InpRiskPercent keeps 1.00% equity risk per trade as the default and accepts 0.10% through 10.00%, so 5% and 10% scenarios can be configured without changing the signal. All audited historical evidence below used 1.00%.
- Volume uses OrderCalcProfit , is rounded down to the configured symbol's broker volume step and can be reduced when required margin exceeds 95% of free margin.
- One own position maximum; a foreign position on the configured USDSEK symbol blocks a new entry.
Higher risk is not a stronger performance claim. It increases requested exposure, drawdown and loss potential and may be constrained by broker minimum volume, maximum volume or margin.
Historical Strategy Tester evidence
These are MetaTrader 5 Strategy Tester backtests, not live trading results. The audited runs used the scientific source/SET, MetaQuotes-Demo, model 1, initial deposit USD 10,000, and the frozen USDSEK M30 configuration.
In-sample: 2020-01-01 to 2024-12-31
- Net profit: USD +267.69
- Trades: 16
- Profit factor: 1.39
- Maximum balance drawdown: 2.95%
- Observed frequency: 0.263 trades per 30 days
The sample is small. The retained deal ledger records no completed trades in 2020 or 2021, then:
- 2022: 2 trades, USD +158.21
- 2023: 11 trades, USD +299.42
- 2024: 3 trades, USD -189.94
Out-of-sample: 2025-01-01 to 2026-10-03
- Net profit: USD +66.92
- Trades: 11
- Profit factor: 1.11
- Maximum balance drawdown: 1.96%
- Observed frequency: 0.516 trades per 30 days
The later window is also a small sample:
- 2025: 1 trade, USD -97.89
- 2026 through October 3: 10 trades, USD +164.81
The commercial audit records positive IS, positive untouched OOS, the same frozen scientific configuration and native MT5 reports. The 16-trade IS and 11-trade OOS samples are not hidden or enlarged by claim.
Separate IS and OOS balance curves are supplied as historical simulation figures. PF, drawdown, sample size, WFA, stress and prior research diagnostics remain report-only evidence under the current commercial criterion.
Host chart, synchronization and sessions
All strategy series, ATR handles, symbol properties, current quotes, position filtering, history-deal symbol checks, profit/margin calculations, filling mode and orders use InpTradeSymbol, not the host chart symbol.
Before strategy evaluation, the EA requires the configured USDSEK symbol and its M30 series to be synchronized. If synchronization is not ready, it waits fail-closed. The first synchronized observation after an unsynchronized startup anchors the current M30 bar and does not create a retroactive entry.
A host-chart tick is not accepted as a USDSEK quote. The EA reads the configured symbol's own tick, rejects a quote whose timestamp is ahead of terminal server time, and waits if the configured symbol has not yet produced a quote for the current internal M30 bar. Order and close paths also check the configured symbol's declared broker trading session before sending a trade request.
Time, broker and execution limits
Economic times are Europe/Stockholm civil time. The audited implementation converts server timestamps through UTC using the configured server winter offset and European DST rules. The frozen commercial setting is server winter offset UTC+2 with European DST enabled.
The evidence is native MetaQuotes-Demo / model 1, not Vantage, real-tick validation or live profit. The reconciled metrics do not provide separate commission/swap/fee totals. Broker spread, contract size, tick value, margin, volume step, server timezone, trading sessions and USDSEK suffix/prefix conventions can affect execution.
No DLL, WebRequest, Telegram, external signal service, downloaded runtime calendar, MQL_TESTER shortcut, artificial trade or fallback market is used.
Version 1.11 has been compiled and technically tested. The recorded heterogeneous-host IS test reached the same 16 trades / USD +267.69 aggregate as the USDSEK M30 reference, but independent review found a different execution sequence. This is not full host parity.
Host tick timing can alter exact callbacks even when aggregate totals coincide. The historical curves and statistics on this page belong to the scientific USDSEK M30 host; use USDSEK M30 as the host chart to reproduce the reference setup.
Risk settings of 5% and 10% are accepted by the interface but do not have separate historical-performance evidence.
Historical simulation does not guarantee future results.
