Let's say we open a position with the CTrade class. CTrade t; t.Buy( 0.1 ); What is the quickest way to get the open price and ticket of this position or detect failure? As simple as that. Thank you
The code: void FillArray(PosArray& C) { int total= PositionsTotal (); for ( int i= 0 ; i<total; i++) { CPositionInfo p; if (p.SelectByIndex(i)) { C.InsertSort( new Pos(p)); } Sleep ( 1 ); }
Where can I get a Visa or MC Card that is able to receive funds from MQL withdrawal as an EU citizen
The above code prints 3210. Is the order somewhere documented? Is it always right to left
Hello, I have an Indicator which calls an another CPU heavy custom indicator (on 7 different currencies). So, in the Init function I create the 7 handles and within OnCalculate I use CopyBuffer to get the data. Sometimes this indicator starts normally but sometimes it seems the buffers are not ready
The onclick event behaviour of the buttons created with the standard library is weird. Is there any way to change that? For example: if you click on the button object but the mouse pointer is no longer pointing to the button when you release the mouse's left button, that does not fire the ONCLICK
Hello, The graphical objects of the standard library look really small on a high res display (header, radio buttons etc). Is there any easy way to scale the things up or this has to be handled in a custom way
if i order a VPS from mql5.com and run an EA which uses the WebRequest function , will it be able to send http requests