is there a possibillity to use a combo box in an expert? i always see only samples with indicators
amando
i have several pending orders, and want to bring them into a combo box
any code idea? want to use the defalt combo box
https://www.mql5.com/en/docs/standardlibrary/controls/ccombobox
i read the documentation, and really, i dont have any idea how to creat this box
amando
- You read the Tick Number from the Order History
- You add each Ticket using the class method "AddItem".
Obviously, you must first learn to code in general and learn about OOP - Object Oriented Programming. Otherwise you will not be able to understand it, much less code it!
- You read the Tick Number from the Order History
- You add each Ticket using the class method "AddItem".
Obviously, you must first learn to code in general and learn about OOP - Object Oriented Programming. Otherwise you will not be able to understand it, much less code it!
you are right, bcs i come from the visual basic world ;-)
but neverless, do you haven an example for me?
i have my buttons and text fields, this was no problem for coding, but i dont know how to implement the combobox
amando
Of course, why not ?
Hello Alain,
do you haven an example?
i tried to use this code, but its not work in my EA
https://www.mql5.com/en/forum/37432
amando
- www.mql5.com
i have my buttons and text fields, this was no problem for coding, but i dont know how to implement the combobox
I don't have an example, but you yourself have referenced the documentation as well as a Forum thread with an example, and yet you could not do it.
You are missing the point. You have to first learn OOP, because once you do you will not need an example.
You need to to learn C and C++ to better understand coding in MQL, especially if you come form an Visual Basic background!
There is no way around this. It is part of the learning curve if you want to code and understand MQL properly.
does anyone tell me how it works?
amando
Hello Alain,
do you haven an example?
i tried to use this code, but its not work in my EA
https://www.mql5.com/en/forum/37432
amando
There is plenty of examples in the Codebase, Articles and even on the Forum. You just have to search a bit.
I don't think someone will do it for you.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
does anyone have an idea, how to bring the ticket number into a combo box?
i have several pending orders, and want to bring them into a combo box
any code idea? want to use the defalt combo box
https://www.mql5.com/en/docs/standardlibrary/controls/ccombobox
i read the documentation, and really, i dont have any idea how to creat this box
amando