Loading…

Murray Math

This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Murray Math. As the name suggests, the idea behind it is Murrey Math levels. In the code it works with moving averages. It works with a grid of orders, places pending orders and moves the stop behind price. It has 31 settings, for example Fractals (default TRUE), Note1 (default 15m 0.5/1h 0.25/4h 0.125) and Note2 (default 15m 4/1H 16/4H 64/D1 256). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 5 indicator files 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 Murray Math

Murray Math is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It opens a grid of orders at fixed price steps, places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 31 settings, such as Fractals, Note1 and Note2. MQL source code included.

It also trades only in the hours you set (time filter).

Files in the download: TimeFrameLib-v0.3~.mq4, TimeFrameLib-v0.3~.mqh, X TF 2009 (Angles) Plugin~.mq4, X TF 2009 (TimeLine) Plugin~.mq4, X TF 2009~.mq4, Murrey Math ea~.mq4, MURRAY_MATH_TRADING_SYSTEM_MANUAL.doc.

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

Settings

SettingDefaultWhat it does
FractalsTRUE
Note115m 0.5/1h 0.25/4h 0.125/d1 0.0625
Note215m 4/1H 16/4H 64/D1 256
Trading frame4
Manual fractal0.0006
P256
Step back0Distance between orders
Baby50 linesFALSE
Baby33 linesFALSE
Baby25 linesFALSE
Adjust side to side0
Shift up dn0Bar shift (0 = current bar)
Win1
Win21
Number of days10
Begin 108:00Hour when trading starts (server time)
End 111:00
Color 1NavyColour on the chart
Begin 214:00Hour when trading starts (server time)
End 217:00
Color 2NavyColour on the chart
High rangeFALSE
Lots1.0Trade size in lots
Stop loss40.0Stop loss distance
Take profit0.0Take profit distance
Trailing stop0.0Trailing stop distance or switch
Slippage5.0Maximum slippage allowed when opening a trade
Start hour of day0.0Hour when trading starts (server time)
Endof day23.0
Beginer64.0Hour when trading starts (server time)
Periodtotake64.0Number of bars in the calculation

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: Grid · Pending Orders · Trailing Stop & Break-even · Time Filter · Moving Average · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria