Skip to main content

How can I save custom settings in the MetaTrader terminal?

Updated over 3 weeks ago

The MetaTrader platform (MT4 and MT5) allows for flexible customization of the interface, workspace, technical tools, and trading algorithms to suit your preferences.

You can save your custom settings to ensure they are not lost after restarting the terminal.

Template — chart layout and settings

What does a template save?

  • Color scheme

  • Chart type (candlesticks, bars, line)

  • Timeframe

  • Applied indicators and their parameters

  • Grid, levels, zoom, and other visual settings

How to save a template?

  1. Customize the chart to your preference.

  2. Right-click on the chart or find the "Template" menu on the top toolbar.

  3. Select "Template" → "Save Template…".

  4. Save the template.

How to apply a template to another chart?

  1. Open the "Template" menu on the top toolbar and select "Load Template".

  2. Choose the template from the list and open it.

Where are templates stored?

  • MT4: MQL4/Profiles/Templates

  • MT5: MQL5/Profiles/Templates or simply Templates

Profiles — the entire workspace environment

What does a profile save?

  • All open charts

  • The position and size of open charts

  • Applied templates and tools

  • Currency pairs and symbols

How to save a profile?

  1. Open the desired charts and customize them.

  2. At the bottom of the terminal, click on the current profile name or go to the menu File → Profiles.

  3. Select "Save As…".

  4. Enter a name for the profile and click "OK".

Where to find saved profiles?

All saved profiles can be found in the same menu: File → Profiles. Simply click on the desired profile to load it.

Where are profiles stored?

  • MT4: MQL4/Profiles

  • MT5: MQL5/Profiles

Indicator and expert advisor settings (.set files)

If you frequently use the same parameters for expert advisors or indicators, you can save them in a separate file as well.

How to save a .set file?

  1. Open the settings window of the indicator or expert advisor.

  2. Configure all the desired parameters.

  3. While on the "Inputs" tab, click the "Save" button.

  4. Enter a file name and save it (the file will have a .set extension).

How to load and apply saved indicator or expert advisor settings?

Click the "Load" button in the same window and select the previously saved .set file.

Where are they stored?

  • MT4: MQL4/Presets

  • MT5: MQL5/Profiles/Presets

Terminal settings (general preferences)

Settings from the "Tools → Options" menu — such as sounds and alerts, trading preferences (lot sizes, deviations), proxy, server, and interface language — are saved automatically when the terminal is closed and are stored in configuration files:

  • MT4: config/terminal.ini

  • MT5: config/ (multiple files, including community.ini, terminal.ini, and others)

If needed, these files can be copied and transferred to another MetaTrader installation for quick restoration of your settings.

Did this answer your question?