In some cases, you might want to open a set of charts as quickly as possible. This can be required when, for example, you want to load historical data in a specific timeframe. Another example is when you are using an indicator that uses multiple currency pairs.
Open All Charts is a super simple script for MetaTrader 4 and MetaTrader 5 that opens charts for all the currency pair available in your platform at a specified timeframe.
The script is rather versatile. By default it opens all pairs containing EUR, USD, GBP, JPY, CAD, CHF, AUD, or NZD currencies. However, you can quite easily change that via the script's input parameters. You can modify the list of currencies (separate them by comma) to open specific pairs/symbols. You can also enter some symbol prefix or suffix to open charts for all symbols containing that prefix or suffix. This parameter is case-insensitive.
Entering an empty value in the Currencies input parameter will cause the script to attempt to open charts for all available symbols. Such an operation can fail if there are too many symbols.
You can also use this script's code as an example of an MQL4 program that works with symbols and charts in MT4.
Warning!
If your MT4/MT5 platform supports a lot of currency pairs, this script might open all of them — the number of charts is potentially huge. It will open charts not only for those symbols that are selected in your Market Watch panel but for all symbols in the platform.
To install the script, please follow the instructions below:
Download the script archive file.
Open the MetaTrader 4/5 data folder (via File→Open Data Folder).
Open the MQL4 or MQL5 folder.
Copy all the folders from the archive directly to the MQL4 or MQL5 folder.
Restart MetaTrader 4/5 or refresh the list of scripts by right-clicking the Navigator subwindow of the platform and choosing Refresh.
You can also read a more detailed instruction on how to perform the installation.
Use this strategy at your own risk. https://sites.google.com/view/engineer-the-forex/ cannot be responsible for any losses associated with using any strategy presented on the site. It is not recommended to use this strategy on the real account without testing it on demo first.
You can open a trading account with any of the MT4 Forex brokers to freely use the presented here indicator for MetaTrader 4. If you want to use an MT5 version of the indicator presented here, you would need to open an account with a broker that offers MetaTrader 5. If you are with a cTrader broker, then you would need to download the cTrader version of the indicator above.