Forum

MultiLIne Edit Box

Hi. What is the best way to achieve multi-line edit box in metatrader to be able to live more detailed notes about trades / events ....and is there an easy way to achieve 2 colours in the same editbox. Thank You for any replies

Integration with others IDE

I found this article and was super helpfull : https://www.metatrader5.com/en/metaeditor/help/beginning/integration_ide but: is there a way to automatically re_run the expert in the terminal like it is happening in metaeditor (when we press f7 ) or this is just metaeditor exclusive feature ?? the

CTree class

I'm after any tutorial about CTree class and more specific the purpose and functionality Comapre method from CObject . The documentation is vary basic about this subject and there is none Articles about it. Im after any example from where I can understand a purpose and use of CTree class ..My goal

Regarding new update

After oct4 update we received few surprising changes. Most of them are awesome as always (big fan of mql5) but 2 particular are very troubling for me: 1. if project is created I can compile the "full project" only from main (top)file ...if I'm working on included file and press F7 then only the file

FolderClean() function - how to delete all files in root directory of Files folder ?

In my software I create a lot of files (logging purposes) and before it was not very big deal I deleted them manually but now I create even more and I 'd like to delete them on the beginning of the OnInit() :) I found the function FolderClean and a lot of demo codes to delete files in existing

Object size in memory

Hi Is there a function to call and witch one will return the size of referred object in memory. My software has cash and I 'd like to limit it .if this cash is bigger then size then delete the oldest objects () example ..if we do not delete created object by new operator then in expert tab we can

ENUMERATIONS and DOUBLE

I have the double array[] where all my settings for the indicators are , but also I use this array for other things is there a way to init the indicator using setings from the double array and not to have a warning . I really do not like warning messages in my code :) int OnInit () { double

Class conctructor dilema :)

Is this even possible ...I'd like to know witch class created what (to exchange the ID ) but this is creating loop, and I'm not sure if this even possible , and I have to use third class ...I'm still far from the expert level but the algorithm I'm working on will need to be able to do similar thing

question about Best practice how to code

I'm in the middle of bigger project but I'm far from programmer ...and still learning :) My question is regarding best practice, how to write the code, I have no problem how to write it to do what I want it to do, but the question is what is the best practice example : class classContainerTrigger

MQL Editor alternative or tricks to save time during programming

I found this thread forum, and is very old about Alternatives : https://www.mql5.com/en/forum/175462 So far i found the original MQL editor is the best from my experience( personal opinion only :) ) but size of my code is getting to the point that I'm spending a lot of time scrolling through the