A detailed reference for every input of the Super Gold Trend EA, using the exact labels shown on the terminal's Inputs tab. Parameters are listed in the same order and grouping as they appear in the panel.
Inputs (General)
Trade Comment (default: "Super Gold Trend") — Text tag attached to every order the EA places, so its trades are easy to spot in the terminal and history. (Advanced: if the first 2–3 characters form a valid timeframe code such as "M5" or "H1", the EA auto-switches the chart to that timeframe on start.)
Show Info Panel (default: false) — Shows or hides the on-chart dashboard (broker, equity, spread, P/L, session status). Visual only; it does not affect trading.
Lotsize
Autolot Type (default: Fix lot Size) — How trade volume is decided: Fix lot Size (a fixed lot), Fix Money Size (one volume step per X of balance), or Risk Per Trade (size derived from a % of balance).
Fixed Money size (default: 100) — Used only when Autolot Type = Fix Money Size. One volume step is added for every this-much account balance (lot = round(Balance / this) × volume step).
Fixed Lot size (default: 0.01) — Used only when Autolot Type = Fix lot Size. The exact volume of each trade. Always normalized to your broker's min / step / max rules.
Risk Per Trade % (default: 10) — Used only when Autolot Type = Risk Per Trade. Approximate percentage of balance used to derive the lot (lot ≈ Balance × % / 100 / 1000, rounded to the volume step).
Maximal Lots (default: 100.0) — Hard ceiling on the computed volume. Whatever the autolot math returns, it is never allowed above this.
Recovery
Lot Coefficient Recovery (0=OFF) (default: 0) — Martingale-style multiplier: after a losing close, the next trade's lot is multiplied by this factor to try to recover. 0 disables it (constant lot). Use with caution — values above 1 increase risk quickly.
SL-TP Settings
Stop Loss, in pips (default: 25) — Stop-loss distance from entry, in pips (auto-scaled for 3/5-digit symbols and gold). 0 = no fixed stop loss.
Take Profit, in pips (default: 200) — Take-profit distance from entry, in pips (same scaling). 0 = no fixed take profit.
Trailing
Trailing (default: true) — Master switch for trailing the stop as a trade moves into profit.
Trailing Type: (default: Trailing pips) — Trailing pips trails a real stop-loss at the broker; Virtual Trailing manages a hidden line internally and closes the trade at market when touched (keeps the stop off the broker's server).
Trailing Start, in pips (default: 25) — Profit (in pips) the trade must reach before trailing begins.
Trailing Step, in pips (default: 5) — Minimum additional move (in pips) before the trailing stop is advanced again. Larger = fewer modifications.
Break Even
Break Even (default: true) — Move the stop-loss to around the entry price once the trade is far enough in profit, protecting against giving back gains.
Break Even Start, in pips (default: 15) — Profit (in pips) required before break-even is applied.
Break Even Step, in pips (default: 5) — Offset locked beyond entry when break-even triggers (e.g. entry + 5 pips), leaving the trade slightly green rather than exactly flat.
Friday Close
Enable Friday Close Exit (default: false) — When on, every Friday from the time below the EA closes all its positions, deletes its pending orders, and stops opening new trades — avoiding weekend gap risk.
Friday Close Time (GMT, HH:MM) (default: 21:55) — The GMT time on Friday from which the close-and-halt above takes effect. Set it relative to your broker's Friday close.
Trading Hours (Server Time)
Enable or disable the time filter (default: true) — Master switch for the per-day trading windows below. When off, all day/hour windows are ignored.
Monday Trading Hours. (default: 10:30-10:31;02:00-02:01;14:00-14:01) — One or more allowed windows for Monday, in server time, written as HH:MM-HH:MM and separated by ; . New trades open only inside these windows (the end time is exclusive). Note: the default is very narrow one-minute windows — widen it for normal trading.
Tuesday Trading Hours. (default: 10:30-10:31;02:00-02:01;14:00-14:01) — Same as above, for Tuesday.
Wednesday Trading Hours. (default: 10:30-10:31;02:00-02:01;14:00-14:01) — Same as above, for Wednesday.
Thursday Trading Hours. (default: 10:30-10:31;02:00-02:01;14:00-14:01) — Same as above, for Thursday.
Friday Trading Hours. (default: 10:30-10:31;02:00-02:01;14:00-14:01) — Same as above, for Friday.
Saturday Trading Hours (disabled by default). (default: 00:00-00:00) — Windows for Saturday; 00:00-00:00 effectively disables the day.
Sunday Trading Hours (disabled by default). (default: 00:00-00:00) — Windows for Sunday; 00:00-00:00 effectively disables the day.
Close all trades when a trading session ends? (default: false) — When the current time leaves an allowed window, close open positions and delete pendings (instead of only pausing new entries).
News Filter
News Filter (default: false) — Pause trading around economic-calendar events (MT5 calendar). Note: the calendar is unavailable in the Strategy Tester, so this is auto-disabled during backtests.
Pause trade X minutes before the news (default: 15) — Minutes before a filtered event to stop trading.
Pause trade X minutes after the news (default: 15) — Minutes after a filtered event to resume trading.
Brokers
Delete All Pending Orders if Spread>MaxSpread (default: false) — When the spread spikes above Max Spread, remove the EA's pending orders so they can't fill at a bad price.
Max Spread, in pips (default: 5) — Maximum spread (in pips) allowed for opening new trades. While the spread is wider, entries are paused.
Max Slippage, in pips (default: 1) — Legacy deviation cap for market orders (scaled for 3/5-digit symbols). Note: if Max order deviation (points) in Slippage Protection is greater than 0, that value overrides this one.
Magic number (default: 88) — Unique ID stamped on this EA's orders, so they are never confused with manual trades or other EAs. Positions and pendings are only managed if they carry this magic number (or if it is 0).
Equity Protection (Daily Drawdown)
Enable daily max-drawdown protection (default: true) — Master switch for the daily equity guard.
Daily max drawdown (% of day-start balance) (default: 5.0) — The loss limit for the day, measured as (day-start balance − current equity) / day-start balance × 100. The baseline balance resets at the start of each server day. When breached, the EA stops opening new trades until the next day.
Close all positions & pending when hit (default: true) — Behavior when the limit is breached: if true, immediately close all positions and delete pendings; if false, leave existing trades to run (hit their own SL/TP) but still open nothing new until tomorrow.
Slippage Protection
Enable slippage guard (measure fills/closes) (default: true) — Master switch for measuring real execution slippage and reacting to it.
Max order deviation / slippage cap (points, 0=use Max Slippage) (default: 50) — Hard maximum deviation (in points) the terminal accepts on market orders. 0 = fall back to the legacy Max Slippage (pips) value above.
Trip cooldown if entry slippage > this (points) (default: 800) — If a pending order fills more than this many points away from its requested price, the guard trips a cooldown.
Trip cooldown if SL-close slippage > this (points) (default: 800) — If a stop-loss closes more than this many points away from the SL price, the guard trips a cooldown.
Cooldown after slippage guard trips (minutes) (default: 15) — How long new entries are paused after a trip. Auto-clears on the local clock, so a frozen quote feed can never keep it stuck.
Delete pending orders when guard trips (default: true) — Also remove the EA's pending orders when the cooldown starts.
Log slippage-guard events to Journal (default: true) — Print guard measurements and trips to the Experts journal for diagnostics.
Built-in Safeguards (automatic, not inputs)
These behaviors are always active and shape how the inputs play out:
- Broker stop/freeze-level guard — SL/TP and pending prices are clamped to the broker's minimum distance (and at least one spread), preventing "Invalid stops" rejects.
- Margin / affordability check — every entry is verified against free margin first, so under-funded orders are skipped cleanly instead of erroring.
- Filling-mode auto-detect — the correct order filling (FOK / IOC / Return) is selected per symbol at startup.
- New-bar / anti-duplicate gate — a signal opens at most one position per bar, so the EA cannot spam orders on the same setup.
- Pending-order cap — the number of pending orders per side is limited (Maximum Pending Orders), and excess pendings are pruned.


![[iVISTscalp5]: TSI — Timing Strength Index [iVISTscalp5]: TSI — Timing Strength Index](https://c.mql5.com/6/1015/splash-preview-772243.png)