Upload file from MT4 to Webspace

MQL5 통합 C++ JavaScript PHP HTML

작업 종료됨

실행 시간 2 시간
피고용인의 피드백
one of the best customers i have ever worked. patient, professional with a so nice personality.
고객의 피드백
Hamed is hard working and nice. He did work with on the project, until almost completed, even before I selected him in MQL5's freelance system. Will definitely will do some more with him.

명시

Hello all,

I am a forex trader, and a coder too. I am having a hard time to try to have a way to do the following but too busy with many other tasks...

I need a way to upload a file from MQL4\Files (or sub folder of this) at certain time interval to a web space but not to use DLL or SendFTP. There are 2 parts of the coding: Client side, and Server side.

(1) Client side: an Expert Adviser running in MT4 or MT5 platform. This must use WebRequest with Post method.

(2) Server side: a PHP file that can receive communication from the EA to do the uploading to the right location on the server.

Update: I have been able to create an .html file (Upload.html) on client's computer and upload.php on sever to do the uploading. You can try it here: 
http://iamintofx.com/Upload.html

What I don't know yet is to construct "headers" string and "data" array in WebRequest() function as below (so that we have the correct request message sent to server):

int  WebRequest(
   const string      method,           // HTTP method
   const string      url,              // URL
   const string      headers,          // headers 
   int                   timeout,          // timeout
   const char        &data[],          // the array of the HTTP message body
   char                 &result[],        // an array containing server response data
   string               &result_headers   // headers of server response
   );

Thank you

응답함

1
개발자 1
등급
(3)
프로젝트
3
33%
중재
0
기한 초과
0
무료
2
개발자 2
등급
(192)
프로젝트
232
30%
중재
1
100% / 0%
기한 초과
9
4%
무료
게재됨: 2 코드
비슷한 주문
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
//+------------------------------------------------------------------+ //| XAUUSD Ultimate Institutional EA | //| Features: | //| - True swing-based market structure | //| - BOS sniper entries on M5 | //| - Liquidity sweep filter | //| - Partial TP + breakeven | //| - Visual BOS, swings, liquidity
Moving forward 100+ USD
Position Size = (Account Risk %) / (Stop Loss %) Example: $1000 account, 1% risk = $10 If SL = 0.75%, position = $10 / 0.0075 = $1333 moving average
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi

프로젝트 정보

예산
30 - 80 USD
기한
에서 1  7 일