Project name: Webrequest Kill Switch 1.0 Aim: The end user will have the ability to close all open trades or toggle the autotrading button from an external url Platform: MT4 Summary: There are two sub projects within this project: (i) Creation of a web form on an external url, (ii) Expert advisor script which calls the Webrequest function to interact with (i) Prerequisites: (i) Understanding of the webrequest function https://www.mql5.com/en/docs/network/webrequest (ii) Knowledge of how to implement http requests and interact with external url (iii) Ability to create a web form with buttons and fields (iv) Access to some web space for development purposes Expert Advisor functionality An expert advisor script will be required which is attached to a new metatrader 4 chart on the same terminal. For example, if a user has an EA running on XAU USD m1 chart, then another chart will opened in order to run the new killswitch script Expert advisor setting suggestions: Magic number Account number: Close all trades function Yes/No Autotrade function Yes/No The script requires the external url to be added to the options section of the Mt4 terminal The script uses the webrequest function to call the external url to check whether the url has issued an autotrade toggle on/off. When the message s received, the expert advisor will toggle the autotrade button on the MT4 terminal The script uses the webrequest function to call the external url to check whether the url has issued a close all trades request. When the message is received, the expert advisor will close all open trades on the other chart Is the script able to send the url a message whether the autotrading is currently ON or OFF ? External url functionality The external url is a web page . The web page requires a web form with the following fields/buttons Field 1: Account number Field 2: Magic number Status field: Autotrade status: On/off Button 1 : Toggle autotrade Button 2: Close all trades The web form sends these messages to the Expert advisor via the webrequest function . This is a similar method of interaction that news filter EAs use to turn off autotrade during news events. Status messaging: The web form should confirm that an autotrade command has been executed successfully The web form should confirm that the close all trades has been executed successfully