Skip to content
Forex Indicator System Thailand
Back to marketplace
Support and resistanceIndicator

Murrey Math Line X (Murrey Math support and resistance lines)

An indicator that draws 13 Murrey Math levels (-2/8 to +2/8) from a trailing High-Low range, with alerts when price breaches a line

Murrey Math Line X (Murrey Math support and resistance lines) on an MT5 chart
Example on an MT5 chart

Download the indicator free

Download right away. Nothing to fill in.

Version
1.05
Published
11/21/2026
File size
35 KB

Open source, Apache License 2.0, by EarnForex.com. See licences

Version history

  1. 1.05Current11/21/2026 · 35 KB

    First release on this site.

How to read it

The 13 horizontal lines from -2/8 to +2/8 are Murrey Math levels calculated from the highest and lowest price of the chosen window. 0/8 and 8/8 (aqua) are the bottom and top of the frame and 4/8 (blue) is the middle level. The white lines below 0/8 and above 8/8 are the zones where price has moved outside the frame. The label beside each line gives its role under Murrey Math theory, which does not confirm that price will respond to the line.

The window is period (default 64) times the number of chart bars that fit in UpperTimeframe (default D1), so on a D1 chart it calculates from 64 D1 bars. Set UpperTimeframe equal to or above the chart timeframe; if it is lower, the result is wrong. StepBack moves the window back, and a blue arrow below a bar marks the latest bar used in the calculation. Colour and width of each line are set with mml_clr_* and mml_wdth_*, and LabelSide puts the labels on the left or right. The lines are recalculated when a new bar opens and are deleted when the indicator is removed.

Alerts are off by default. Turn them on with NativeAlerts, EmailAlerts or NotificationAlerts to be told when a close breaks through a line, upward or downward. TriggerCandle defaults to Previous, which uses the closed bar, while Current can alert during an unfinished bar.

Parameters

NameDefaultDescription
period64Base number of bars used to find the High-Low range for the lines (scaled by the ratio of UpperTimeframe to the chart timeframe).
UpperTimeframePERIOD_D1Higher timeframe that sets the length of the calculation window. Should be equal to or above the chart timeframe.
StepBack0Number of bars to step back from the current bar before the calculation window starts.
LabelSideLeftSide where the line labels are placed (left or right).
mml_clr_m_2_8clrWhiteColour of the [-2]/8 line.
mml_clr_m_1_8clrWhiteColour of the [-1]/8 line.
mml_clr_0_8clrAquaColour of the [0]/8 line.
mml_clr_1_8clrYellowColour of the [1]/8 line.
mml_clr_2_8clrRedColour of the [2]/8 line.
mml_clr_3_8clrGreenColour of the [3]/8 line.
mml_clr_4_8clrBlueColour of the [4]/8 line.
mml_clr_5_8clrGreenColour of the [5]/8 line.
mml_clr_6_8clrRedColour of the [6]/8 line.
mml_clr_7_8clrYellowColour of the [7]/8 line.
mml_clr_8_8clrAquaColour of the [8]/8 line.
mml_clr_p_1_8clrWhiteColour of the [+1]/8 line.
mml_clr_p_2_8clrWhiteColour of the [+2]/8 line.
mml_wdth_m_2_82Width of the [-2]/8 line.
mml_wdth_m_1_81Width of the [-1]/8 line.
mml_wdth_0_81Width of the [0]/8 line.
mml_wdth_1_81Width of the [1]/8 line.
mml_wdth_2_81Width of the [2]/8 line.
mml_wdth_3_81Width of the [3]/8 line.
mml_wdth_4_81Width of the [4]/8 line.
mml_wdth_5_81Width of the [5]/8 line.
mml_wdth_6_81Width of the [6]/8 line.
mml_wdth_7_81Width of the [7]/8 line.
mml_wdth_8_81Width of the [8]/8 line.
mml_wdth_p_1_81Width of the [+1]/8 line.
mml_wdth_p_2_82Width of the [+2]/8 line.
MarkColorclrBlueColour of the marker that points at the last bar used in the calculation.
MarkNumber217Wingdings arrow code of that marker.
FontFaceVerdanaFont of the line labels.
FontSize10Font size of the line labels.
ObjectPrefixMML-Prefix for the names of the objects drawn on the chart.
TriggerCandlePreviousCandle used to detect a line breach for alerts (Current = the current bar, Previous = the last closed bar).
NativeAlertsfalsetrue = show a popup alert when price breaches a line.
EmailAlertsfalsetrue = send an email when price breaches a line (set up SMTP in the terminal).
NotificationAlertsfalsetrue = send a mobile push notification when price breaches a line.

Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.

How to install

  1. Download the .ex5 file.
  2. In MT5, choose File > Open Data Folder.
  3. Copy the file into the MQL5\Indicators folder.
  4. Right-click Indicators in the Navigator window and choose Refresh (or restart MT5).
  5. Drag the indicator onto a chart, adjust the Inputs if you like, then click OK.

Description

Murrey Math Line X finds the highest and lowest prices of a trailing range and divides it into levels by the Murrey Math rules, giving 13 horizontal lines from -2/8 to +2/8. Each line has a label describing its role, for example 0/8 and 8/8 as extreme support and resistance and 4/8 as the main level. These labels come from Murrey Math theory and do not confirm that price will respond to the lines.

The length of the calculation window is period times the number of chart-timeframe bars that fit in UpperTimeframe, so a small-timeframe chart can show lines built from a longer period. StepBack moves the window back.

With alerts on, the indicator notifies you when price breaches a line upward or downward, through a popup, an email or a mobile push. It opens no trades.

Banners from the Exness partner programme

Exness banner: gold spreads*

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.