Skip to content

MA Ribbon Indicator for MT4 and MT5: Trend Display with Two Moving Average Crossovers

MT5 Free Updated 2026-12-03

What Is the MA Ribbon Indicator?

This indicator plots a fast and a slow moving average and colors both lines based on their position relative to each other. It is our own original version, built by MT4MT5 Lab, and is available for both MT4 and MT5.

  • While the fast moving average is above the slow one, both lines are shown in light blue
  • While it is below, both lines are shown in pink. Together, the two lines look like a ribbon
  • An arrow appears on the bar where the two lines cross (an up arrow for a cross above, a down arrow for a cross below)
  • Lines and arrows on closed bars do not change afterward
  • It can notify you on screen or on your phone when a cross occurs (off by default)

Example

This example shows the indicator on an MT4 EUR/USD 1-minute chart with the default inputs (fast 10, slow 20, simple moving average).

An MT4 EUR/USD 1-minute chart showing two moving averages in light blue and pink, with arrows on the bars where they cross

How to Use It

  • Use it as a guide to direction: A light blue ribbon suggests an upward direction; a pink ribbon suggests a downward direction
  • Watch for changes in direction: Arrows appear on the bar where the two moving averages cross

In a quiet range, crosses can appear many times in a short period. Do not base trading decisions on this indicator alone. Use it together with your own trading rules.

Key Specifications

  • Platform: MT4 and MT5 (a separate file for each)
  • Display location: Main chart window
  • Calculation: Calculates the selected moving average type (simple, exponential, smoothed, or linear weighted) with a fast period and a slow period, then determines direction from the position of the two lines
  • Current bar: Lines and arrows move until the bar closes. They do not change after that
  • Notification timing: Once only, when the crossover bar closes

Inputs

  • Fast moving average period (default: 10): Can be set from 1 to 500
  • Slow moving average period (default: 20): Can be set from 2 to 1000, and must be longer than the fast period
  • Moving average type (default: simple moving average): Exponential, smoothed, and linear weighted are also available
  • Price used for the moving averages (default: close)
  • Up color / Down color (defaults: light blue, pink)
  • Line and arrow width (default: 2): Can be set from 1 to 5
  • Arrow gap (default: 0.3): A multiplier of the bar’s high-to-low range
  • Number of bars to calculate (default: 2000): Higher values make the indicator run slower
  • Notifications: on-screen, sound, push notification, email (default: off): Push notifications and email require setup in MT4 or MT5
  • Show a small “MT4MT5 Lab” label in the chart corner (default: on): Turn it off to hide the label

Free Download

Download the file for your platform from the links below.

For MT4

MT4MT5Lab_MARibbon (MT4)

For MT5

MT4MT5Lab_MARibbon (MT5)

How to Install

  1. Download the file for your platform from the links above
  2. Launch MT4 or MT5 and click File > Open Data Folder in the top-left menu
  3. Save the downloaded file in MQL4/Indicators for MT4, or MQL5/Indicators for MT5
  4. Close MT4 or MT5 and start it again
  5. “MT4MT5Lab_MARibbon” will appear in the Navigator. Drag and drop it onto the chart you want

Test Status

On November 25, 2026, we checked the following on a demo account EUR/USD 1-minute chart using the default inputs.

  • MT4 (build 1492) and MT5 (build 6328): The indicator displays on the chart
  • Line and arrow values: Values for 400 closed bars match values calculated separately
  • Closed bars: Lines and arrows on closed bars do not change after new bars form

The following have not been tested: whether notifications are actually delivered, timeframes other than 1-minute, symbols other than EUR/USD, moving average types other than simple, and behavior when left on a chart for a long time.

Notes

  • Lines and arrows on the current (unclosed) bar move with price. Judge crosses only after the bar closes.
  • The file previously distributed on this page has been replaced with our own original version. Input names and default values differ from the previous file.
  • Forex trading carries a risk of loss. You are responsible for your own trading decisions.

Changelog

  • Version 1.00: Released our own original version (for MT4 and MT5). It replaces the MT5 file previously distributed here.
TOOLS

Related paid tools

MTF Board

One table that shows the direction of up to 16 symbols across up to 9 timeframes. Click a cell to switch the chart.

MT4MT5Paid

See details

RELATED

More from the lab

Indicators and tools on this site are aids for chart analysis. They do not predict prices or guarantee trading results. Trading foreign exchange involves risk of loss.