거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

"Native" MQL HTTP Client - MetaTrader 4용 라이브러리

조회수:
23058
평가:
(17)
게시됨:
2011.02.08 08:31
업데이트됨:
2014.04.21 14:55
\MQL4\Include\
ghttp.mqh (9.58 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author:

gunzip <spammmmme@gmail.com>


Description:

This library implements two simple HTTP GET / POST function to communicate with HTTP servers.

It doesn't require any external dll(s) apart from the standard wininet shipped with win32.

Moreover it provides some file upload ability.

Put this in experts/include subfolder.


Usage:


#include <ghttp.mqh>

string params[2][2];

params[0][0] = "key1";

params[0][1] = "value1";

params[1][0] = "key2";

params[1][1] = "value2";

// for multiple file upload

string filenames[2][2];

filenames[0][0] = "uploaded1"; // name of form field for file upload

filenames[0][1] = "test1.txt"; // file name in experts/files/ subfolder

filenames[1][0] = "uploaded2";
filenames[1][1] = "test2.txt";

string response;

HttpPOST("127.0.0.1", "/upload.php", params, filenames, response);
HttpGET("http://www.google.com?q=hello", response);

Comment(response);



NOTES

  • you _must_ pass two arrays for params and filenames. pass an empty two dimensional array if you have no files/params (ie. string params[][];)
  • files to upload MUST reside in experts/files subfolder

EMAplusWPR EMAplusWPR

Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R

Urban Towers Urban Towers

The indicator shows the arrows point of entry into the position according to the Urban Towers Scalping Strategy.

Twitpic - Send chart screenshot Twitpic - Send chart screenshot

Drop the script on your chart to send a screenshot to twitpic with or without a message

PSAR_2B_Line PSAR_2B_Line

Line indicator Parabolic SAR for the current Time Frame and the next one