Executing an URL from MQL4 -


on mql4 code need execute external url/link in order update table,

i have added url in allowed url list option.

however got following error :

enter image description here

any idea how solve problem ? .

ps: using mt4 build 840

this warning reminds set ( check [x] ref. fig1 below ) permit(s) in mt4 terminal tools->options ( ctrl+o )

both [allow automated trading (expert advisor per se )] , [ allow webrequest listed url: / add formatted link...]

must checked [x] allow...

enter image description here

for further problem resolution, the mcve-compliant pieces of information needed.

as minimum ( there yet nothing posted ) the following pieces needed reproduce / verify trouble indicate having webrequest() call, ( noted earlier, stackoverflow encourages post whole expert advisor code-snippet, having full context, right in question, helps form mcve-compliant part of stackoverflow original post right when asking it. image erased url part not provide valuable reproducing error claim have problem ):

// [a] webrequest(): syntax-mode used + <genetators> / <content-state> of data-payloads used execute webrequest()-call // ------------------     aserverresponse = webrequest( "get",                                  "http://stackoverflow.com/users/3666197/user3666197",                                  null,                                  null,                                  60000,                                  apostpayload,                                  0,                                  aretresult_store,                                  aretheadersstore                                  );  // [a.1] method    [in]-> http method used in webrequest() call. // [a.2] url       [in]-> url  target used in . // [a.3] headers   [in]-> string of request headers in format of "key: value" pairs, separated line break "\r\n". // [a.4] cookie    [in]-> cookie setup value. // [a.5] referer   [in]-> referer header value setup http request. // [a.6] timeout   [in]-> webrequest() timeout sync-waiting in [ms]. // [a.7] data[]    [in]-> webrequest() http message body. // [a.8] data_size [in]-> size of data[] array under [a.7]. // [a.9] result[]        <-[out] storage server response data. // [a.a] result_headers  <-[out] storage server response headers.   // [b] value returned server, once webrequest() under [a] executed // --------------------  // [b.1] mql4-engine <error-state>     print getlasterror();  // [b.2] webrequest()-call's returned value     print aserverresponse;  // [b.3] setup under [a.9] aretresult_store  // [b.4] setup under [a.a] aheadersstore 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -