Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1175
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
Change MQ's source code and pull methods into public ones, it is clear that this is not our method :)
if you don't want it that way, then all elements inCAppDialog are formed by graphical objects, you only need to know the object name, and after creating an instance of CAppDialog class, write a method that will repaint CAppDialog borders in the colour you want
if you don't want it that way, all CAppDialog panel elements are formed as graphical objects, you only need to know the name of the object and after creating an instance of CAppDialog class, write a method that will paint the CAppDialog borders in the colour you want
via this. you can transfer the code looking for the correct control within the class. This works.
But I don't know how to access it, knowing the name of the object.
You can use this to move the code to find the control you need within the class. This works.
But I don't know how to access it knowing the name of the object.
https://www.mql5.com/ru/docs/objects/objectsetinteger
but I think it's easier to redefine all the private methods and fields to public for your own needs
https://www.mql5.com/ru/docs/objects/objectsetinteger
but I think it's easier to redefine all closed methods and fields to public for your own needs
ObjectSetInteger - works :), I forgot all about it.
Can you give an example for#defineprivate public - I don't understand how to override method. Is it necessary to do this in your class?
ObjectSetInteger - works :), I forgot all about it.
Can you give an example for#define private public - I don't understand how to override method. Is it necessary to do this in your class?
Igor, yes it works. Thank you.
Running genetic optimisation of an EA on MT5 with local agents connected to the home network.
The Expert Advisor takes some initial data from a text file.
I open the file with flags: FILE_READ|FILE_SHARE_READ|FILE_ANSI|FILE_CSV|FILE_COMMON
In order for the local agents to find the file, I had to copy it to the Common folder of the local computer terminal.
Is the only way out is to manually duplicate the required files to all local machines every time?
Can't the terminal itself send this file along with the input test parameters?
How do I find out the price of the Fibonacci fan level on the current bar programmatically?
Gives out the price of the first point of the trend line. (((