How can the script programmatically go through all the instruments that are selected in the Market Watch window? - page 2

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Recently solved this problem for myself.
to Zhunko.
-I remember, of course I got the idea from your code. Worked with your loader for a few days - it's fun! Thanks.
Recently solved this problem for myself.
That's what I did with Moneiraine pairs. That's where "mini" and "pro" are.
I think there's also some shit in Lite.
I.e. you can divide the instruments into groups according to DTs.
I was interested only in the following brokerage companies: Alpari, ForexBest, MoneyRain, NorthFinance, NWBroker.
These are brokerage companies with the maximum number of instruments. And they were necessary for giving quotes for currency indexes calculation.
The script "ZZ_All Quotings 0-0080" is designed for them.
Let it open windows of each instrument with each TF.
This is the kind of procedure that is missing at the beginning:
Thank you! (Laughs)
It's a fun toy, but it doesn't work properly. I got stuck on the last tool. Attempting to stop it caused an MT4 error.
Let it open windows of each instrument with each TF.
This is the procedure missing in the beginning:
Make it
If it caused an error, delete the following global variables again before running (F3):
NB: The script is only a demonstration of the idea of a possible solution to the problem at hand.NB: The script is only a demonstration of the idea of a possible solution to the task at hand.
The programming experience beautifully demonstrates both the ingenuity of the human mind and the lack of functionality of the tool... hooray and alas...
Lack of functionality of the tool... hooray and alas...
P.S. On the other hand - the process is important!
There is no perversion in the script. It is a bit unconventional, that's all.
Idea: The script opens chart windows of each trading instrument from the "Market Watch" window, runs itself on them and closes the window. It regulates itself using global variables created by itself (and deleted at the end of operation). That's all.
The script will work 99% of the time, if the following conditions are met:
- The DLL will be allowed to be used without manual confirmation;
- The value of the Pause variable will be set greater than 1000 (technical pause, depends on the performance of the computer and the Internet connection. The better these characteristics, the less you can set the Pause value and respectively reduce the running time of the script);
- delete the global variables(F3) "Symbol_Hash" and "Symbol_Handle" before running the script (this may be the case if the script failed to run before).
After finishing the script, the terminal looks the same as it did before it was started. All symbol data is in the Symbols.txt file.