I Need A Script

MQL4 Scripts

Spécifications

Hello

 

I want a script to login to this website  http://www.investing.com/members-admin/auth/login and after login the script goes to this page in the website http://www.investing.com/economic-calendar/ and this page i want to download it as htm. through the script

To the  folder MQL4/Files and then i will work with the file forther , so basically this is the job in general and i will come with the detail and more spesific when i get i get a programer that can help me with that !

It is very simple not complecated i only want to login through the Webrequest function and then write the page into a htm. file in the  MQL4/Files

I have a samble of the script that i have created but i have problem with login in and after that go to the page http://www.investing.com/economic-calendar/ this is what i need help for !

 //+------------------------------------------------------------------+ 

//| Login to Website                                                 | 

//+------------------------------------------------------------------+ 

void OnStart()

  { 

   int    res;     // To receive the operation execution result 

   char   data[];  // Data array to send POST requests 

   char   result[];// page content.

   

   string str="Login="+"user name"+"&Password="+"password"; // this is where i put the login and password <------



//--- Create the body of the POST request for authorization 

   ArrayResize(data,StringToCharArray(str,data,0,WHOLE_ARRAY,CP_UTF8)-1); 

//--- Resetting error code 

   ResetLastError(); 

//--- Authorization request 

   res=WebRequest("POST","http://www.investing.com/members-admin/auth/login",NULL,0,data,result,str); 

//--- If authorization failed 

   if(res!=200) 

     { 

      Print("Authorization error #"+(string)res+", LastError="+(string)GetLastError()); 

      return; 

     } 

      //--- Save the data to a file 

      int filehandle=FileOpen("GoogleFinance.htm",FILE_WRITE|FILE_BIN); 

      //--- Checking errors 

      if(filehandle!=INVALID_HANDLE) 

        { 

         //--- Save the contents of the result[] array to a file 

         FileWriteArray(filehandle,result,0,ArraySize(result)); 

         //--- Close the file 

         FileClose(filehandle); 

        }

         

   return;

  }

You can see the source code this is the idea ! it is very simple to understand what i want i just want to login to the website then go to the page and write this page to a htm. file in the MQL4/Files filder.

 

important thing also is i want the source code file and in the source code i want the programmer to use //comment for each line explaining the source code .

 

I hope there is some programers that can help me with that.

 

 Thnaks. 

Répondu

1
Développeur 1
Évaluation
(53)
Projets
74
26%
Arbitrage
30
10% / 63%
En retard
22
30%
Gratuit
2
Développeur 2
Évaluation
(164)
Projets
218
50%
Arbitrage
6
17% / 67%
En retard
11
5%
Gratuit
3
Développeur 3
Évaluation
(39)
Projets
44
16%
Arbitrage
1
100% / 0%
En retard
7
16%
Gratuit
4
Développeur 4
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
Commandes similaires
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding

Informations sur le projet

Budget
10 - 22 USD
Pour le développeur
9 - 19.8 USD
Délais
de 2 à 7 jour(s)