Skip to main content

Setfiles

What are Setfiles?

Setfiles in MetaTrader are configuration files that store user-defined settings for expert advisors (EAs) or custom indicators. These files contain parameters such as input values, optimization settings, and other preferences specific to trading strategies.

How to create Setfiles

To create a Setfile for your Alpha Bot, follow these instructions:

1. Open Alpha Bot settings dialog

You can either drag-and-drop the Alpha Bot EA onto a chart (see Alpha Bot setup for instructions) or open the existing Alpha Bot settings on an active chart (see updating Alpha Bot settings).

Alpha Bot inputs tab

2. Save settings

Once you have entered your settings, you can click the "Save" button.

Settings save button

Next, specify a location and name (in this example Alpha Bot) for your Setfile.

Settings save setfile

Finally click "Save".

How to load Setfiles

If you want to load settings from a Setfile, simply click the "Load" button inside the "Inputs" tab:

Settings load button

Next, select your previously saved Setfile and click "Open":

Settings load settings

You should now see the new settings applied.