Did You set your FTP in the Tools-Options-Publisher tab?
Did You set your FTP in the Tools-Options-Publisher tab?
yes, it works fine for sending the statment.
I think the reason might be because the indicator updates every new tick, ie, update when there is a new incoming price data. So it will initiate sending the files every few seconds. That's somehow messed up with ftp server, however, it that case, at lease the very first time of ftp sending should be successful.
I see an example in the previous post, however, I can not manage to make it work. Can anyone help?
"Feature Request: SaveChartAsBitmap"
int start()
{
//----
ScreenShot("screen.gif",640,480,20,5,CHART_CANDLE);
ScreenShot("screen1.gif",640,480,80,4,CHART_CANDLE);
ScreenShot("screen2.gif",640,480,0,3,CHART_CANDLE);
ScreenShot("screen3.gif",640,480,-1,2,CHART_CANDLE);
//----
SendFTP("screen3.gif");
return(0);
}
"Feature Request: SaveChartAsBitmap"
int start()
{
//----
ScreenShot("screen.gif",640,480,20,5,CHART_CANDLE);
ScreenShot("screen1.gif",640,480,80,4,CHART_CANDLE);
ScreenShot("screen2.gif",640,480,0,3,CHART_CANDLE);
ScreenShot("screen3.gif",640,480,-1,2,CHART_CANDLE);
//----
SendFTP("screen3.gif");
return(0);
}
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Cheers
void start()
{
string fpt_path = "ftp://username:password@ftpserver/";
SendFTP("GBPUSD_1M.gif", fpt_path);
}
The ftp_path is tested in IE explore, which works fine.
The files is saved in C:\Program Files\MetaTrader 4\experts\files\