Forum

Trade Request "Position Close", how to work around this?

Hello community, I need to catch the event in the "OnTradeTransaction", that the whole postion is going to close (request). I tried to vary with the Trade Operation Types and the Trade Transaction Types , but I cannot manage to create this "event" -> Position Close. I´m sure it is pretty simple, but

CPositionInfo Type() bug, or do I get it wrong?

Hello community, it consumed some time to get this: Do I understand something wrong, or is this a bug? Kindly, Olle Onkel

How to call functions from Intel Fortran .dll?

Hello community, Does anybody has experiences or links where I can find help with the above topic? Today I wanted to test the interactions of MQL5 with a .dll created in Intel Fortran XE 2013 , VS2010. Executing a sample function of the dll leaded to the interruption of the EA in debugging mode

How to show MessageBox() in the Strategy Tester?

Hello, while testing my EA in the strategy tester, there are no Alert() (OK, they are found in the journal) or MessageBox() pop-ups. Also PlaySound() is ignored. In the MT4 "strategy tester" all these features were included. How is this with the MT5 strategy tester. Is there a way to pop up a

Items of the ComboBox are not displayed.

Hello community, I got stuck on a problem with the ComboBox from the standard library. After successful creation with the "Create" method I intended to add some items with the "ItemAdd" method. Finally the ComboBox is added to a CDialog. The source is as follows: int y2=y1+EDIT_HEIGHT; if

How to set indicator properties for indicators created from the indicator classes?

Hello, I have a (maybe understanding) problem with indicators created from the classes provided by the standard library . I want to write a class including a mixture of custom an prefined indicators. In my case I´ve created an instance of the CiDeMarker class within the Oscilators. The class