Forum

Assign a export to a chart

HEy all, i stuck a bit. I try to create a routine, where i can open a new chart and assign a expert on it. I had this already but i missing pages in my head. Thanks 4 help

BugRequest: "Access violation" while accessing static function

Hey all, i have something really strange. I have some code and each time i access this function i get this error: 2018.11 . 19 17 : 51 : 48.897 Test (EURUSD,H1) Access violation at 0x000002A0178243A0 write to 0x000002A0178243A0 2018.11 . 19 17 : 51 : 48.898 Test (EURUSD,H1) crash -->

iVolume

Hey all, i've a stupid question... whats the meaning of iVolume() ? I dont get it. Have read the doc and tried a few examples but still having a echo in my head. When i use it, is see the value growing with time and at the end of a period it resets to 0. Fine. But why jump the value back and what

MQL-Editor: preview drop down list window is broken

Hey all, this preview window, whichs pops up while you are typing and where you can see the class and variables names in the editor is very use ful. But somehow it is broken in some of my classes and i don't know why. - The compiler shows no error, so syntax is correct. - The code itself works - if

how to detecting "xx bytes of leaked memory"

Hey all, after writing lots of code, somehow the "xx bytes of leaked memory" error sneaked in. i've searched in the forum and documentation but could not find a way how to detect them. All created objects gets deleted and all array will be set to 0. It's about 4000 lines of code and i can't find the

aaaaah help ...kaspersky think it's a trojan

Hey all ...after updating MT5, kaspersky pops up and say its a malware -> metaeditor64.exe -> Trojan.win32.khalesi.gju Nothing found on google and the link from kp goes to /dev/404 ...............naaaaahh Reinstall software does not help .... does someone had this too ?? Thanks & Regards

BUG: CArray failed Search function in a shared object

Hey all, i found something strange with CArrayInt and CArrayString. I have a main object which can load other objects into his running environment. This objects can communicate with each other while sharing an object which handles a conversation. Objects can add a new item with a "add" interface and

CArray Feature Request

Hey MQL-Dev Team, i fell in love with this CArrays. There are really handy and saves a lot of code. I miss a functionality , i can assign and insert array but i can't dump the contents into a given array. I was reading through the documention but could not find a hint. For now i have to go over a

Programming magic's

Hey all, while reading the forum i found code where i can't understand the operation. set |= state; set &=~ state; ( full src code: https://www.mql5.com/en/forum/222650 ) What is "|=" and "&=~" doing ? Thx && Regards

struct vs global space

Hey all, i am wondering if i found a bug or just misunderstood the scope of struct. I have 2 seperate classes. One includes the other ( not extend !). In both i use a struct with the same name. Within class1 i create a object of class2. Class2: ... class class2 { private : struct