Loading…

Lmt

Lmt is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages and ATR. It places pending orders and moves the stop behind price. It has 21 settings, for example alert enable popup (default TRUE), alert enable sound (default TRUE) and Min Stop Loss (default 50.0). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor and 1 settings file (.set). Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Expert advisor · MT4 · v1.0 · Free

About Lmt

Lmt is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average and ATR. It places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 21 settings, such as Alert enable popup, Alert enable sound and Min stop loss. MQL source code included.

Files in the download: boekomplekt_-_LMT_v1.8.rar, LMT_1.8.AUTO.rar, LMT_1.8.R2.rar, LMT_2.1.mq4, LMT_AUTO.set, LMT_FOREX_FORMULA_V.1.5_MODIFIED.rar.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
Alert enable popupTRUETurn this alert on or off
Alert enable soundTRUETurn this alert on or off
Min stop loss50.0Stop loss distance
Set ordersTRUE
Alert wav filenamealert.wavTurn this alert on or off
Magic number6543213Magic number that tells this EA's orders apart
L slippage5Maximum slippage allowed when opening a trade
Comment ordersLMT orderComment written on the orders
Lm tstopfalse
Use trend filterfalse
Break even20.0Move the stop to break-even
Profit50.0
Trigger period40.0Period or timeframe used by the calculation
Limit orderstrue
Use mafalse
Close by mafalse
Last candle value0.2
Short ema5
Long ema8
Check0.5
Chart background blacktrue

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Pending Orders · Trailing Stop & Break-even · Moving Average · ATR · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria