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
Skripte

HTTP using WinINet directly in mql4 - Skript für den MetaTrader 4

Ansichten:
22314
Rating:
(10)
Veröffentlicht:
2012.03.09 06:59
Aktualisiert:
2016.11.22 07:32
Benötigen Sie einen Roboter oder Indikator, der auf diesem Code basiert? Bestellen Sie ihn im Freelance-Bereich Zum Freelance

Author: mapick


This is a "conceptual" script I developed to test the WinINet functions to load a HTTP page directly from mql4

The code imports the wininet.dll original windows library, then it calls all the needed functions, as stated in MSDN documentation, simply translating the mql data types:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa383630(v=vs.85).aspx

You have only to run the script on a chart, and you'll see a MessageBox with the https://www.mql4.com html page

I used this code in one of my EA, to upload a set of signals from my ASP.NET site, calling a page that send the data file

This is the simple C# asp.net page code to send the file:

f (File.Exists(@ "C:\ ... my data directory .... \signs.csv" ))

{

Response.TransmitFile(@"C:\ ... my data directory .... \signs.csv");

Response.Flush();

Response.End();

}

LRMA Fast Calculation LRMA Fast Calculation

The ideas from the article 3 Methods of Indicators Acceleration by the Example of the Linear Regression" is implemented in this indicator.

JForex OHLC data converter JForex OHLC data converter

Rewrites JForex csv data without the weekend candles and the seconds.

Triniti Triniti

The support and resistance levels are determined. It provides the values for TP and SL.

Double ZigZag (no repaint) Double ZigZag (no repaint)

This indicator shows signals from two different Zigzags without repainting, and allows you to study the real behaviour of the zigzag indicator as a trading tool over time.