• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Suggestion Special s 3.3 (Optimized)

I don't use a vps from fbs..

Hi, i add a screemshot, please can you change this lines in screenshot with this code ? this code work for me :

void xmlDownload()
{
//---
ResetLastError();
string sUrl="http://nfs.faireconomy.media/ff_calendar_thisweek.xml";
string FilePath=StringConcatenate(TerminalInfoString(TERMINAL_DATA_PATH),"\\MQL4\\Files\\",xmlFileName);
int FileGet=URLDownloadToFileW(NULL,sUrl,FilePath,0,NULL);
if(FileGet==0) PrintFormat(INAME+": %s file downloaded successfully!",xmlFileName);
//--- check for errors
else PrintFormat(INAME+": failed to download %s file, Error code = %d",xmlFileName,GetLastError());
//---
 

Attachments

  • edit.PNG
    edit.PNG
    26.6 KB · Views: 40
Hi, i add a screemshot, please can you change this lines in screenshot with this code ? this code work for me :

void xmlDownload()
{
//---
ResetLastError();
string sUrl="http://nfs.faireconomy.media/ff_calendar_thisweek.xml";
string FilePath=StringConcatenate(TerminalInfoString(TERMINAL_DATA_PATH),"\\MQL4\\Files\\",xmlFileName);
int FileGet=URLDownloadToFileW(NULL,sUrl,FilePath,0,NULL);
if(FileGet==0) PrintFormat(INAME+": %s file downloaded successfully!",xmlFileName);
//--- check for errors
else PrintFormat(INAME+": failed to download %s file, Error code = %d",xmlFileName,GetLastError());
//---

it's the same
 

Attachments

Have you solved the ffcal problem? If so, how?

Today it traded the exact time as the NFP release because news filter did not work. Good thing is, it recovered because of the limit order with the trailing stop. Hope we can do something so that the news filter will do it's job.

FFCAL dont work in VPS, because XML protocol is blocked , can write this file in TXT format?
 
Have you solved the ffcal problem? If so, how?

Today it traded the exact time as the NFP release because news filter did not work. Good thing is, it recovered because of the limit order with the trailing stop. Hope we can do something so that the news filter will do it's job.

Yes , it work , but i add calendar file manualy:

1- Go to this address : http://nfs.faireconomy.media/ff_calendar_thisweek.xml
2- Click right on browser and save as... this XML file.
3- Copy this file in MQL folder in Files folder : \MQL4\Files
4- Download last indicator in post #118 and copy to indicators folder.

this work to me in VPS.
 
last week..
last week.png

from 1 june till now..
_C__Users_win7_Desktop_DetailedStatement.htm.png
 

Attachments

  • last week.png
    last week.png
    185.7 KB · Views: 473
  • _C__Users_win7_Desktop_DetailedStatement.htm.png
    _C__Users_win7_Desktop_DetailedStatement.htm.png
    165 KB · Views: 474
Back
Top