OMEX
EA Inputs (F7 Menu)
Reference all OMEX input variables in one place before attaching the EA.
| Input Variable | Description |
|---|---|
| MagicNumber | Unique identifier for EA-managed trades |
| Slippage | Max allowed slippage in points |
| BreakevenBuffer | Pips above entry for breakeven SL (covers fees) |
| DefaultSLDistance | Default SL line spawn distance (pips) |
| DefaultTPDistance | Default TP line spawn distance (pips) |
| DefaultEntryDistance | Default Entry line spawn distance for pending orders |
| OneClickEntry | When enabled, hides the Set button and submits the trade automatically on the final chart click |
| MaxRiskEnabled | When true, blocks any trade whose calculated risk exceeds MaxRiskPercent of account equity |
| MaxRiskPercent | Hard cap on per-trade risk as % of account equity (default 10%, only used when MaxRiskEnabled is true) |
| RRGuidelinesEnabled | Draws dotted gray RR guidelines on the chart while you move SL or any TP in Manual mode (default true) |
| RRSnapEnabled | TP placement and drag snap to the nearest RR guideline within ~40% of step distance (default true) |
| RRGuideStep | R-multiple spacing between RR guidelines (e.g. 0.5 draws 0.5R/1.0R/1.5R…; default 1.0) |
| LiveSpreadAdjust | Live spread adjustment when a position is set — Buy adds the spread to the Entry, Sell adds it to the Stop Loss (default off) |
| LabelSide | Which side of the chart the Entry/SL/TP line labels are pinned to — Right (default) or Left |
| LabelStyle | Line-label style — on the line with a background, or above the line with no background (default on the line) |
| LabelDetail | Line-label data — choose what each label shows: amount (+$100), price (1.23456), amount + RR, amount + price, or full details (default) |
| LabelFontSize | Line-label font size in points (6–32, default 10; the box scales to fit) |