Function to read and save website page from Metatrader - http/https

Job finished

Execution time 23 hours

Specification

I need a function that can query a webpage and save the content in a string for further manipulation

  • Function will be included in a mqh file
  • Works on Metatrader MT4, bonus if it works on MT5 as well
  • Works on Scripts, Indicators and Experts
  • No WebRequest native mql functions, it is my understanding that it doesn't work on indicators
  • Works on Windows client and server Operating System
  • Must work with HTTP and HTTPS
  • Preferable the use of native dll on Windows
  • Will need source code extensively commented to understand what the code is doing, I know some coding and want to understand the logic and code to support it later on
  • Must be tested and working with URLs coming from https://mql4tradingautomation.com/

Function in/out

  • Function input: URL in the format http://webpage or https://webpage
  • Function output: string containing the data of the webpage
  • Function return: true if the request was successful, false if the request failed

Function safety checks:

  • Function must include a check of the http return code, 200 successful, possible errors (401, 404, 503 and so on) usually this information is included, so that if the request fails we can print the error code
  • Function must include a timeout, if the request takes too long (timeout as parameter) the function stops returning a fail

Responded

1
Developer 1
Rating
(90)
Projects
136
14%
Arbitration
43
21% / 28%
Overdue
14
10%
Free
Published: 2 codes
2
Developer 2
Rating
(59)
Projects
90
39%
Arbitration
26
4% / 77%
Overdue
40
44%
Free
3
Developer 3
Rating
(174)
Projects
200
12%
Arbitration
39
38% / 33%
Overdue
5
3%
Free
Published: 2 codes
4
Developer 4
Rating
(337)
Projects
624
38%
Arbitration
40
23% / 65%
Overdue
93
15%
Free
Published: 4 articles, 19 codes
5
Developer 5
Rating
(41)
Projects
160
45%
Arbitration
16
13% / 50%
Overdue
48
30%
Free
Similar orders
1. The general process is: Automated online forex marketing to find potential clients -> Answering potential clients' questions -> Converting them into actual clients -> Opening accounts, depositing funds, and copying trades. 2. Developers could implement an AI Digital Twin/Shadow Agent to answer customer questions, eliminating the need for me to answer customer inquiries. 3. I have a CTA website and I'm manually
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the

Project information

Budget
30 - 100 USD
Deadline
from 3 to 10 day(s)