OMEX

EA Inputs (F7 Menu)

Reference all OMEX input variables in one place before attaching the EA.

Input VariableDescription
MagicNumberUnique identifier for EA-managed trades
SlippageMax allowed slippage in points
BreakevenBufferPips above entry for breakeven SL (covers fees)
DefaultSLDistanceDefault SL line spawn distance (pips)
DefaultTPDistanceDefault TP line spawn distance (pips)
DefaultEntryDistanceDefault Entry line spawn distance for pending orders
OneClickEntryWhen enabled, hides the Set button and submits the trade automatically on the final chart click
MaxRiskEnabledWhen true, blocks any trade whose calculated risk exceeds MaxRiskPercent of account equity
MaxRiskPercentHard cap on per-trade risk as % of account equity (default 10%, only used when MaxRiskEnabled is true)
RRGuidelinesEnabledDraws dotted gray RR guidelines on the chart while you move SL or any TP in Manual mode (default true)
RRSnapEnabledTP placement and drag snap to the nearest RR guideline within ~40% of step distance (default true)
RRGuideStepR-multiple spacing between RR guidelines (e.g. 0.5 draws 0.5R/1.0R/1.5R…; default 1.0)
LiveSpreadAdjustLive spread adjustment when a position is set — Buy adds the spread to the Entry, Sell adds it to the Stop Loss (default off)
LabelSideWhich side of the chart the Entry/SL/TP line labels are pinned to — Right (default) or Left
LabelStyleLine-label style — on the line with a background, or above the line with no background (default on the line)
LabelDetailLine-label data — choose what each label shows: amount (+$100), price (1.23456), amount + RR, amount + price, or full details (default)
LabelFontSizeLine-label font size in points (6–32, default 10; the box scales to fit)