Loading…

Milestone 20.5

Milestone 20.5 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses moving averages. It can hold buy and sell positions together, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example Close All (default false), Continue Trading (default true) and Enable Calendar (default false). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. 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 Milestone 20.5

Milestone 20.5 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It can hold buy and sell positions at the same time (hedging), moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter). It has 40 settings, such as Close all, Continue trading and Enable calendar. MQL source code included.

It also can size trades from your balance and risk percent and has a news filter.

Files in the download: milestone-20 (1).5.mq4.

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

Settings

SettingDefaultWhat it does
Close allfalse
Continue tradingtrue
Enable calendarfalse
Include hightrue
Include mediumfalse
Include lowfalse
Include speakstrue
Safe spreadtrueMaximum spread allowed to trade
Safe growthtrue
Safe exitstrue
Allow hedgefalse
Enable stopfalse
Trade fridayfalse
Aggressivefalse
Signal atrue
Signal btrue
Signal ctrue
Signal dtrue
Signal a start hour0Hour when trading starts (server time)
Signal a end hour23Hour when trading stops (server time)
Signal b start hour0Hour when trading starts (server time)
Signal b end hour23Hour when trading stops (server time)
Signal c start hour0Hour when trading starts (server time)
Signal c end hour23Hour when trading stops (server time)
Signal d start hour0Hour when trading starts (server time)
Signal d end hour23Hour when trading stops (server time)
Max trades7Maximum number of open trades
Refresh hours24
Lead calendar minutes240
Trail calendar minutes480Trailing stop distance or switch
Sleep seconds14400
Basket profit1.1
Open profit0.005
Min profit0.007
Safe profit0.005
Stop growth0.005
Daily growth0.015
Relative stop0.3
Query history14
Trend space15

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: Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · News Trading · Moving Average · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria