This section describes how to execute Script in MT4.
- Prepare the Script (.ex4) you want to execute in MT4.
- Start MT4 and click “File”-> “Open Data Folder”.
- The MT4 folder will be opened, so move the folder to “MQL4”-> “Scripts”.
- Copy the Script prepared in 1.) to the Scripts folder.
- Click “View”-> “Navigator” in MT4 to display the navigator window
- To load the script stored in the folder, right-click “Script” in the “Navigator” window of MT4 and click “Update”.
- Display the Chart you want to execute the Script.(If you are displaying multiple Charts, click once on the Chart you want to execute the Script and enable that Chart.)
- Find the Script with the same name as the Script file copied to the MT4 folder in 4.) in the “Scripts” tree in the navigator window and double-click it.
- The Script setting screen is displayed.
- On the Parameters tab, change any parameters you want to customize.
- After completing the settings, click the “OK” button to execute the Script.