Forum

How do I get properties of indicator with calling iCustom?

I can get indicator buffers with calling iCustom: int indicator_handle=iCustom(NULL,0,"Indicator_name"); double Label1Buffer[]; int copy=CopyBuffer(indicator_handle,0,0,10,Label1Buffer); I got hendle with iCustom() but I can't figure out how do I get properties of indicator with this hendle

How do I run this code once per day?

I have a cycle with Print(). This string should be printed once per day only. There is the code: int Hour = 20 ; int Minute = 20 ; int OnInit () { Hour = timeTemp.hour; Minute = timeTemp.min; EventSetTimer ( 60 ); } void OnTimer () { MqlDateTime ActivationTime; TimeToStruct ( TimeCurrent ()

How do I set body for WebRequest Post request?

I want to make Post request to " https://sslecal2.forexprostools.com/ajax.php ". So there is my code: string MakePostRequest( string _url) { string _url = "https://sslecal2.forexprostools.com/ajax.php" ; string _headers = "X-Requested-With: XMLHttpRequest\r\nContent-Type: application/x-www-form-

How do I minimize list of charts with scrypt for mql5?

There is few charts opened in terminal, for example: AUDCAD, DKKSEK, AUDJPY, EURZAR, USDCZK, USDCHF. And there is array of target charts: DKKSEK, EURZAR, USDCHF. How do I minimize all charts windows except chart windows of target charts