Is it possible to run multiple scripts at the same time?
Monday, 3 July 2017 08:56MetaTrader 4 is developed so that only one Forex robot or script can be attached to a single chart. However, MT4 allows running several scripts or advisors in the same trading terminal. You just need to open multiple chart windows. It allows you to run many trading robots by attaching each of them to a different graph.
To do this, open several identical charts and attach an appropriate script for each of them and specify the necessary parameters. Thereby, several scripts will work on your trading account simultaneously.
It is worth to be reminded that a script will stop working after its task is completed, but it can also be disabled manually. To remove a script from the chart, you need to go to the context menu and select the "Delete Script" option. The script will be deleted from the chart after the symbol or time frame is changed.
Remember that all scripts will be automatically disabled after the MT4 terminal is closed! Therefore, if you need the script to repeat a particular task in the terminal - you must restart MetaTrader 4.
- Previous article: How to stop a script?
- Next article: What is a global variable?