Schau, wie man Roboter kostenlos herunterladen kann
Finden Sie uns auf Facebook!
und werden Sie Mitglied unserer Fangruppe
Interessantes Skript?
Veröffentliche einen Link auf das Skript, damit die anderen ihn auch nutzen können
Hat Ihnen das Skript gefallen?
Bewerten Sie es im Terminal MetaTrader 5
Bibliotheken

HTTP requests for new MQL4 (tested in build 600) - Bibliothek für den MetaTrader 4

Ansichten:
17818
Rating:
(23)
Veröffentlicht:
2014.02.12 14:44
Aktualisiert:
2016.11.22 07:32
\MQL4\Include\
mq4-http.mqh (2.65 KB) ansehen
Benötigen Sie einen Roboter oder Indikator, der auf diesem Code basiert? Bestellen Sie ihn im Freelance-Bereich Zum Freelance

Description:

This is a simple MQL4 wrapper that uses Windows native wininet.dll. It allows you to send HTTP requests (currently supported only GET method) to a remote destination and read the body response from MQL that was compiled in build 600 and newer (not in a strict mode).

For latest version, issues tracker and contribution please refer to project's Github repository.

Example:

#include <mql4-mysql.mqh>

int start () {

  string myIP = httpGET("http://icanhazip.com/");

  Print("My machine's IP is ", myIP);

  return(0);
}

Source:

Source is distributed at Github repository. Any contribution is highly appreciated.

Credits:

This library was based on following great resources:

- HTTP Wininet sample: http://codebase.mql4.com/en/code/10644

- EasyXML parser: https://www.mql5.com/en/code/1998

HashMap implementation HashMap implementation

An implementation of a HashMap in MQL4

RosePipsIndicator RosePipsIndicator

This indicator will calculate pips wins and losses for any pair with a parsar and doji star trading strategy. You can see pip targets and losses and see if you can find a winning pair with this. 5MIN charts are the best on current settings.

OpenAlert v1.0 OpenAlert v1.0

Someone needed a quick way to open the Alert window again, after they had closed it. Place this script in your \experts\scripts folder.

Turtle Trader Turtle Trader

Good For EURUSD. Start by Money $300.