# Veritas Breakout — User Manual *MT5 Expert Advisor · version 1.00* **ve·ri·tas** *(Latin)* — truth. **The truth is in the trades.** --- ## Contents 1. Quick start 2. Watch it in the Strategy Tester 3. The dashboard — STATS · PROP FIRM · CALENDAR 4. Risk and position sizing 5. Prop firm mode 6. Broker symbols 7. Session clock 8. Friday policy, magic numbers and order comments 9. How often it trades 10. Running live 11. Input reference 12. FAQ 13. Troubleshooting --- ## 1. Quick start 1. **Attach Veritas Breakout to one chart** — any symbol, any timeframe. The EA trades all its markets from that single chart. Use **one chart per account**. 2. In the dialog, tick **Allow Algo Trading**, and make sure the **Algo Trading** button in the MT5 toolbar is on. 3. Leave the inputs at their defaults (all 7 strategies, 1 % risk, Fixed capital), or choose your **Risk per trade**. 4. Open the **Experts** tab (Toolbox) and read the start-up lines: every market is listed with the broker symbol it found. If one says **(none)**, see *6. Broker symbols*. 5. The chart turns into the Veritas dashboard. That's it — the EA now runs on its own. **Requirements:** MetaTrader 5 · **hedging** account · minimum deposit **$1,000** (recommended **$10,000**) · works from **1:30** leverage · a VPS for uninterrupted live trading. --- ## 2. Watch it in the Strategy Tester The best way to get to know Veritas Breakout is to watch it trade history. 1. Open the **Strategy Tester** (Ctrl+R) and choose **Veritas Breakout**. 2. **Symbol:** any (e.g. XAUUSD). **Timeframe:** any. 3. **Modelling:** *1 minute OHLC* (fast) or *Every tick based on real ticks* (slower, most exact). 4. **Deposit / leverage:** e.g. $10,000 at 1:30. 5. **Dates:** as long as your broker's history allows — the published figures run from 1 June 2019. 6. Tick **Visual mode** and press **Start**. In visual mode the full dashboard runs on the tester chart: open positions, closed trades, strategy states, equity curve, prop firm simulation and calendar — all updating as the years go by. Use the tester's speed slider to slow down or pause at any moment. **The Veritas Report.** At the end of every tester run (visual or not) a complete HTML report is saved — equity curve, drawdown, monthly returns, per-strategy performance and the prop firm simulation. The dashboard shows the exact file path when the run ends, and so does the Journal. It is saved in MetaTrader's shared folder: `…\MetaQuotes\Terminal\Common\Files\VeritasBreakout\VeritasReport__risk_.html` Every run gets a new file — earlier reports are never overwritten. Open it in any browser. > **Why might my results differ from the published ones?** Different broker data, spreads, > commissions, modelling mode, dates or settings all change a backtest. See the FAQ. --- ## 3. The dashboard Veritas Breakout draws a full-page dashboard on its own chart. It is **display only** — it never places, changes or closes a trade. Three pages, switched with the buttons at the top right: **STATS · PROP FIRM · CALENDAR**. ### STATS - **Top tiles:** equity, floating P/L, today's P/L, risk per trade (% and the money at risk now), open positions. - **Open positions:** strategy, symbol, side, lots, entry, stop-loss, take-profit, price, R, P/L, bars in trade. - **Closed positions (today):** every trade closed today with its result in R and money. - **Strategy readiness:** the live state of every strategy on every market: | State | Meaning | |--------------|---------------------------------------------------------------| | **RUNNING** | in a trade now | | **ARMED** | conditions met or close to entry — a trade is possible today | | **WAITING** | conditions not met yet, or the entry window opens later today | | **FAR** | price is too far from the entry — unlikely today | | **CONSUMED** | already traded this move / today | | **DEAD** | no more entries today | - **Strategy performance:** trades, win %, profit factor, average R, net P/L and share of profit for each strategy. - **Equity curve** (hide/show with the **CURVE** button) and a **statistics band**: net profit, win rate, max drawdown, profit factor, Sharpe ratio, largest/average win and loss, expectancy. In the tester the line above the statistics band reads e.g. *BACKTEST · FIXED CAPITAL · 1.00 % risk · 4283 trades since 2019.06.03*, so every screenshot says what kind of run it came from. ### PROP FIRM In the Strategy Tester — **Veritas Breakout – Prop Firm Simulation**: - **Sequential** — one challenge at a time through the whole history: challenges run, passed, failed, pass rate, average days to pass; the **current challenge** with progress to target, room to the max-drawdown line and today's limits; a **challenge strip** (one square per challenge); and the full **challenge history** (scroll with the mouse wheel or the arrows — the running challenge is highlighted). - **Rolling analysis** — a new challenge started every day (or week / fortnight / month), so the result does not depend on one start date: pass probability, days to pass, pass rate by start year, and the **risk sweep** (the same trades at 0.25 % to 2.00 % risk). On a live account with **Prop firm mode ON** the page becomes the **Live Challenge Monitor**: progress to target, room to the drawdown line, today's loss against your protection and the firm's limit, trading days, and a checklist of every challenge objective. ### CALENDAR A monthly P/L calendar of the EA's trades: daily, weekly and monthly totals and trade counts. - **< / >** move one month, **<< / >>** move one year. - **Click a day** to see its trades. - **↓ (download)** saves the month as a PNG image to `MQL5\Files\VeritasBreakout\` (File → Open Data Folder → MQL5 → Files). **Themes:** 8 colour themes (5 dark, 3 light) plus Custom — *Dashboard theme* input. --- ## 4. Risk and position sizing **Risk per trade** — 0.25 · 0.30 · 0.50 · 0.60 · 0.80 · 1.00 · 2.00 %, or **Custom** (any value in *Custom risk %*). Every trade is sized so that hitting its stop-loss loses that percentage. **Fixed / Compounding Capital** | | Fixed (default) | Compounding | |-------------------------|-------------------------------------|-----------------------------------------------| | Risk is a % of | the **starting** balance | the **current** balance | | Money at risk per trade | constant | grows (and shrinks) with the account | | Best for | prop firm challenges, steady growth | own capital, maximum growth, deeper drawdowns | **Safeguards on every order:** - The lot is calculated from the real stop distance and your broker's contract specification. - **Minimum lot:** if your risk is smaller than the broker's minimum lot would risk, the trade is **skipped** — Veritas Breakout never takes more risk than you chose. (This is why small accounts take fewer trades: about 1 in 5 is skipped at $1,000.) - **Margin check:** a lot that the free margin cannot carry is reduced to fit, or skipped. - **Max open positions per instrument** (default 3) across all strategies. - **Stop growing size above this balance** (default 1,000,000) and an optional **hard lot cap**. - Every order is checked with the terminal before it is sent — nothing is sent to be rejected. --- ## 5. Prop firm mode **In the Strategy Tester** the prop firm simulation always runs — you don't need to switch anything on. **On a live account** switch **Prop firm mode = ON** only on a prop firm (challenge or funded) account. ### Set up in three choices 1. **Prop firm mode:** ON 2. **Challenge rules:** 5 % daily / 10 % max (static) · 4 % / 8 % (static) · 5 % / 10 % (trailing) · 3 % / 6 % (static) · or **Custom** (enter your firm's values in the *Custom rules* inputs) 3. **Phase:** Phase 1 (10 % target) · Phase 2 (5 % target) · Funded (no target — protect the account) · Custom target Everything else is automatic: the **account size** and **challenge start** are read from the account's first deposit. The page shows exactly what was detected — check it once. ### What it does - **Daily DD Protection** (default **4 %**, set below your firm's daily limit): when the day's loss reaches it, Veritas Breakout **closes its own positions** and opens nothing more until the next trading day. Before every trade it also adds up the worst case — today's loss, what every open position would still lose at its stop, and the new trade's full stop — and **skips** the trade if that could reach the protection level. (0 = off, −1 = automatically 1 % below the firm's limit.) - **Stop at target** (optional): closes everything and stops trading once the challenge target is reached with the minimum trading days met. - **Tracking:** the firm's daily limit, max drawdown and the challenge target are tracked and shown on the page. ### Good to know - **Manual trades are never touched** — but they do count towards the challenge figures (target, drawdown, today's loss), exactly as your firm counts them. - **Deposits and withdrawals** (e.g. a payout on a funded account) are recognised and never counted as trading profit or loss. - *Daily limits are a % of* — the account size (most firms) or the day's starting balance; *Day's loss is counted from* — the day's starting balance, or the higher of balance and equity; *New trading day starts at* — the server hour your firm resets the daily limit. Match these to your firm's rules. --- ## 6. Broker symbols Veritas Breakout trades XAUUSD, US30, NAS100, US500, GER40, JPN225, GBPUSD and USDJPY. Brokers name these differently (US30.cash, WS30, DJ30, GER40, DE40, …). The EA finds them automatically: it detects your broker's suffix (".cash", "m", ".r", …) and tries a list of common names for each market. At start-up the **Experts** tab lists every market and the symbol found, e.g. `US30 -> US30.cash`. If a market shows **(none)**: 1. Find your broker's exact name for it in **Market Watch** (right-click → Symbols). 2. Add it to that market's line in the **Broker symbol names** input group — e.g. *Dow Jones (US30) – broker names* — anywhere in the list, comma separated. A market your broker doesn't offer is simply skipped; the rest keep trading. --- ## 7. Session clock Three strategies (Opening Floor, Trend Surge, Break & Hold) use session times. Veritas Breakout works these out from your broker's server clock. - **Live:** leave **Session clock offset = Auto-detect** (recommended). - **Strategy Tester:** the tester cannot report the real GMT time, so on Auto the EA uses the reference clock of a **GMT+2 / GMT+3 (summer)** server — the clock most MT5 brokers use, and the one the published results were measured on. If your broker's server runs on a **different** clock, set the offset manually to *(your broker's winter GMT offset) − 2* — e.g. a GMT+0 server → **−2 h**. --- ## 8. Friday policy, magic numbers and order comments - **Friday policy** (on by default): no new entries from **21:30** server time on Friday, and every Veritas Breakout position is closed at **22:30** — no weekend holding. - **Magic numbers:** each strategy has its own magic number (*Magic base* + strategy number). Veritas Breakout only ever manages positions with its own magic numbers — your manual trades and other EAs are never touched. Change *Magic base* only if another EA uses the same numbers. - **Order comment:** a unique ID for your account (default), your own text, the strategy name, or none. The EA never relies on the comment, so you can change it at any time. --- ## 9. How often it trades Veritas Breakout is **selective by design**. Each of its seven strategies waits for one specific setup on its own markets, and it trades only when that setup is there. The result is a steady stream of trades across the week, not a trade on every single day. **What the full backtest shows** (all 7 strategies, 1 June 2019 – 25 September 2026): | On average | Veritas Breakout | |---------------------------|----------------------------------------------------------| | Trades per week | **about 11** | | Trading days per week | **3 to 4** (3.4 on average), about 2 of every 3 weekdays | | Trades on a day it trades | **about 3**, often across several markets | | Days with no new trade | about 1 weekday in 3, which is normal | **Busy weeks and quiet weeks.** Trading follows the market. When markets are moving, Veritas Breakout often trades 4 or 5 days a week. When they are quiet, it can settle at about 2 trading days a week for several weeks in a row (summer 2026 was one of these stretches). Both are normal, and both are part of the published results. **A quiet day is the strategy doing its job.** A no-trade day means none of the setups was there, so the EA kept your capital out of the market rather than forcing a trade. That discipline is a big part of why every trade can carry a fixed risk and a hard stop-loss. **Judge it by the week and the month.** One day tells you very little. The **CALENDAR** page shows the weekly and monthly totals, and **Strategy readiness** on the STATS page shows what each strategy is waiting for right now. > **Good to know:** these figures are for the default preset, which runs all seven strategies. > A single strategy (*Single 1–7*) or a smaller portfolio trades less often. On a small account, > or with a broker that doesn't offer every market, some trades are skipped (see *4* and *6*). --- ## 10. Running live - Run it on a **VPS** so it never misses a session. The EA uses no DLLs and no web requests. - Use **one chart per account.** Don't attach it twice to the same account. - Keep **Algo Trading** switched on in the toolbar. If it is off, MetaTrader refuses every order. - You can close and reopen MetaTrader or re-attach the EA: it recognises its open positions by their magic numbers and manages them as before. - Start with a demo account, then go live with the risk you are comfortable with. --- ## 11. Input reference ### What to run | Input | Default | What it does | |--------|------------------------|------------------------------------------------------------------------| | Preset | Combined P6: all seven | One strategy on its own (Single 1–7) or a combined portfolio (P1 … P6) | ### Broker symbol names | Input | What it does | |----------------------------------------------|----------------------------------------------------------------------| | Gold (XAUUSD) … USDJPY – broker names | Names tried for each market. Edit only if one is reported **(none)** | | If NOTHING resolves, run on the chart symbol | Fallback when no market is found (default true) | ### Risk | Input | Default | What it does | |--------------------------------------|-----------|------------------------------------------------------------| | Risk per trade | 1.00 % | 0.25 – 2.00 %, or Custom | | Custom risk % | 1.0 | Used when Risk per trade = Custom | | Fixed / Compounding Capital | Fixed | See *4. Risk and position sizing* | | Stop growing size above this balance | 1,000,000 | Position size stops growing above this balance (0 = never) | | Hard lot cap per trade | 0 | Maximum lots per trade (0 = the broker's maximum) | | Max open positions per instrument | 3 | Across all strategies | | Exhaustion Fade: max entries per day | 3 | Across all symbols | ### Prop firm rules | Input | Default | What it does | |-----------------|-------------------------------|------------------------------------------------------------------| | Prop firm mode | OFF | ON on a live prop account. The tester always runs the simulation | | Challenge rules | 5 % daily / 10 % max – static | Your firm's limits, or Custom | | Phase | Phase 1 – 10 % target | Phase 1, Phase 2, Funded, or Custom target | ### Prop firm – optional (defaults are fine) | Input | Default | What it does | |----------------------------------------------------|---------------------------------|-----------------------------------------------------------------------| | Account size | 0 (auto) | The challenge size. 0 = the account's first deposit | | Daily DD protection % | 4.0 | Stops the EA for the day at this loss. 0 = off, −1 = firm limit − 1 % | | Custom rules: daily limit / max drawdown / type | 5 / 10 / static | Used when Challenge rules = Custom | | Custom target | 10 % | Used when Phase = Custom target | | Minimum trading days to pass | 4 | | | Time limit, calendar days | 0 (none) | | | Stop trading once the challenge target is reached | false | | | Protection: skip a trade whose stop could reach it | true | | | Daily limits are a % of | account size | or the day's starting balance | | Day's loss is counted from | balance at the start of the day | or the higher of balance / equity | | New trading day starts at (server hour) | 0 | Your firm's daily reset hour | | Live: challenge start balance / date | auto | Override if the first deposit isn't the challenge start | | Rolling analysis: start a challenge | Every trading day | or weekly, every two weeks, monthly | ### Session clock | Input | Default | What it does | |----------------------------------------|-------------|------------------------| | Session clock offset | Auto-detect | See *7. Session clock* | | Apply UK/US daylight saving arithmetic | true | Leave on | ### Friday policy | Input | Default | What it does | |--------------------------------------|---------|--------------| | Friday: block late entries + flatten | true | | | No new entries from (server time) | 21:30 | | | Close everything at (server time) | 22:30 | | ### Execution | Input | Default | What it does | |---------------------------------------------|----------------------------|------------------------------------------------------| | Magic base | 77050000 | Strategy number is added to it | | Order comment | Unique ID for this account | or your own text, strategy name, none | | Order comment text | — | For "My own text" (max 31 characters) | | Max deviation, fraction of the trade's stop | 0.05 | Slippage allowed, as a fraction of the stop distance | ### Dashboard | Input | Default | What it does | |----------------------------------------------|------------|---------------------------------| | Show the HIDE/SHOW CURVE button | true | | | Show the STATS / PROP FIRM / CALENDAR switch | true | | | Page theme | Deep Ocean | 8 themes + Custom | | Dashboard colours | — | Used only with the Custom theme | --- ## 12. FAQ **Which chart and timeframe should I attach it to?** Any symbol, any timeframe — one chart. Veritas Breakout reads the timeframes it needs itself and trades all its markets from that one chart. **Does it use martingale, grid, averaging or recovery trades?** No. Every trade has a hard stop-loss from the moment it opens, and the risk per trade is fixed. **Why hasn't it traded today?** Look at **Strategy readiness** on the STATS page — each strategy tells you in plain words why it is waiting (conditions not met, price too far, already traded today …). Veritas Breakout only trades when its conditions are met. It trades on about 3–4 days a week (about 11 trades a week on average), so days without a trade are a normal part of its rhythm — see *9*. **How many trades should I expect?** About 11 a week, on 3 to 4 trading days, with the default preset (all seven strategies). Busy weeks bring more and quiet weeks fewer — see *9. How often it trades*. **Why is my backtest different from the published results?** Different broker data, spreads, commissions, modelling mode, dates, deposit or leverage all change a backtest. If your broker's server is not on GMT+2/+3, set the Session clock offset (see *7*). On a small account some trades are skipped by the minimum-lot rule. **Fixed or Compounding?** Fixed for prop firm challenges — firms measure every limit against a fixed starting balance. Compounding for your own capital if you accept deeper drawdowns for faster growth. **Can I use it on a prop firm account?** Yes. Switch Prop firm mode ON, pick your firm's rules and phase. Daily DD Protection stops the EA for the day before the firm's daily limit, and the Live Challenge Monitor tracks your challenge. Always check your firm's own rules. **Will it close my manual trades or interfere with other EAs?** Never. It only manages positions with its own magic numbers. (On a prop account your manual trades still count towards the challenge figures, as they do at your firm.) **Does it hold trades over the weekend?** No. With the Friday policy on (default) it stops opening trades at 21:30 and closes everything at 22:30 server time on Friday. **Does it filter news?** It does not read a news calendar. If your firm restricts trading around news, pause it for those releases. **My broker doesn't offer one of the markets.** That market is skipped and the others keep trading. The Experts tab shows which symbols were found. **What is the minimum deposit?** $1,000; $10,000 is recommended. Veritas Breakout never raises a trade above your chosen risk to meet the broker's minimum lot — on a small account it skips those trades instead. **Does it work on a netting account?** No — it needs a **hedging** account, because several strategies can hold positions on the same market at once. **Can I change the risk while it's running?** Yes. The new risk applies to the next trades; open trades keep their original size. **Can I run it on the MQL5 VPS?** Yes. It uses no DLLs and no web requests. On a VPS the dashboard isn't visible, but trading, protection and prop tracking all run as normal. **Where are the report and calendar images saved?** Reports: `Terminal\Common\Files\VeritasBreakout\` (the path is shown on the page after each run). Calendar PNGs: `MQL5\Files\VeritasBreakout\` (File → Open Data Folder). **Why do the dashboard's Sharpe ratio and drawdown differ slightly from MT5's report?** They are measured differently: the dashboard uses daily P/L and closed-trade balance, MT5 uses its own formulas. Both are correct for what they measure. --- ## 13. Troubleshooting | You see | What to do | |------------------------------------------------------------------|-------------------------------------------------------------------------------------------------| | `US30 -> (none) <<< add your broker's name…` in the Experts tab | Add the broker's name to that market's *broker names* input (see *6*) | | `FATAL: nothing enabled, or no symbol resolved` | No market was found — check Market Watch names and the broker names inputs | | The EA refuses to start, mentioning the session clock | Check the computer's clock and time zone, or set *Session clock offset* manually | | No trades and an `Autotrading` / `10027` error in the Journal | Switch on **Algo Trading** in the toolbar and tick *Allow Algo Trading* in the EA's properties | | Trades skipped with "not enough free margin for the minimum lot" | The account is too small for that trade at your risk — raise the deposit or accept fewer trades | | `STOPPED: the challenge target was reached…` | *Stop at target* is on and the target was reached — the challenge is done on this login | *Trading leveraged products involves significant risk. Past performance, including backtested and simulated results, does not guarantee future results. Test on a demo account first.*