How to install Indicators, Scripts and Expert Advisors in Metatrader

Metatrader Indicators, Scripts and Expert Advisors come in two different formats, .mq4 and .ex4.

The mq4 format is the source code while the ex4 format is the compiled version of the code.

In order to be able to use an indicator/script/ea in Metatrader you need the compiled version (ex4). To compile an mq4 file just double click on the file, this will open the Metaeditor application and then hit compile button (see below screenshot) or hit F5.

how to install indicator metatrader

To install an indicator:

  • Place the mq4/ex4 file into your metatrader indicators folder
  • Open Metatrader
  • Locate the indicator on the left hand side in the Navigator window (Ctrl+N)
  • Right click on the indicator, choose “attach to a chart” (or drag it onto the chart)
  • Done!

To install a Script:

  • Place the mq4/ex4 file into your metatrader scripts folder
  • Open Metatrader
  • Locate the indicator on the left hand side in the Navigator window (Ctrl+N)
  • Right click on the script, choose “attach to a chart” (or drag it onto the chart)
  • Done!

To install an Expert Advisor:

  • Place the mq4/ex4 file into your metatrader experts folder
  • Open Metatrader
  • Locate the indicator on the left hand side in the Navigator window (Ctrl+N)
  • Right click on the expert advisor, choose “attach to a chart” (or drag it onto the chart)
  • Done!