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
| Setting | Default | What it does |
|---|---|---|
| Alert enable popup | TRUE | Turn this alert on or off |
| Alert enable sound | TRUE | Turn this alert on or off |
| Min stop loss | 50.0 | Stop loss distance |
| Set orders | TRUE | |
| Alert wav filename | alert.wav | Turn this alert on or off |
| Magic number | 6543213 | Magic number that tells this EA's orders apart |
| L slippage | 5 | Maximum slippage allowed when opening a trade |
| Comment orders | LMT order | Comment written on the orders |
| Lm tstop | false | |
| Use trend filter | false | |
| Break even | 20.0 | Move the stop to break-even |
| Profit | 50.0 | |
| Trigger period | 40.0 | Period or timeframe used by the calculation |
| Limit orders | true | |
| Use ma | false | |
| Close by ma | false | |
| Last candle value | 0.2 | |
| Short ema | 5 | |
| Long ema | 8 | |
| Check | 0.5 | |
| Chart background black | true |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Pending Orders · Trailing Stop & Break-even · Moving Average · ATR · MT4 Expert Advisor · MQL4 Source Code