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

工作已完成

执行时间23 小时

指定

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

反馈

1
开发者 1
等级
(90)
项目
136
14%
仲裁
43
21% / 28%
逾期
14
10%
空闲
发布者: 2 代码
2
开发者 2
等级
(59)
项目
90
39%
仲裁
26
4% / 77%
逾期
40
44%
空闲
3
开发者 3
等级
(174)
项目
200
12%
仲裁
39
38% / 33%
逾期
5
3%
空闲
发布者: 2 代码
4
开发者 4
等级
(337)
项目
624
38%
仲裁
40
23% / 65%
逾期
93
15%
空闲
发布者: 4 文章, 19 代码
5
开发者 5
等级
(41)
项目
160
45%
仲裁
16
13% / 50%
逾期
48
30%
空闲
相似订单
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {

项目信息

预算
30 - 100 USD
截止日期
从 3 到 10 天