Forex
Google

Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (4) Thread Tools Display Modes
  #21 (permalink)  
Old 11-18-2006, 03:27 AM
daraknor's Avatar
daraknor daraknor is offline
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
In many cases applications need specific software that tells them how to run as a service. I do not know of a reliable way to do what you are asking in Windows. In linux it is fairly simple

I am offering a beta of a hosting service which will automatically monitor, restart, etc EA.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 11-20-2006, 03:07 AM
ARBAT ARBAT is offline
Junior Member
 
Join Date: Aug 2006
Posts: 11
ARBAT is on a distinguished road
Question

Quote:
Originally Posted by daraknor
In many cases applications need specific software that tells them how to run as a service. I do not know of a reliable way to do what you are asking in Windows. In linux it is fairly simple

I am offering a beta of a hosting service which will automatically monitor, restart, etc EA.
daraknor,

Thanks for the offer, but i would like to know how to fix it, since i am already paying for the monthly VPS service. So if anyone knows how to setup service for metatrader on Windows Server, please let me know...............
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 11-20-2006, 10:03 PM
daraknor's Avatar
daraknor daraknor is offline
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
I read your post again, and you can probably achieve similar results doing something much easier. Put a shortcut to MT4 in you Programs> STartup folder on the start menu. You can navigate there by right clicking the start button and choosing explore. This will require that user to automatically log in before it will work.

You can also add it to the registry,
HKLM\Software\Microsoft\CurrentVersion\RunServices
The entry would be "C:\Program Files\MetaTrader 4\terminal.exe" or whatever your path is. THis would not require the user to log in but it is rather advanced.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 11-30-2006, 02:50 PM
saltcafe's Avatar
saltcafe saltcafe is offline
Member
 
Join Date: Sep 2006
Posts: 34
saltcafe is on a distinguished road
Quote:
Originally Posted by daraknor
I read your post again, and you can probably achieve similar results doing something much easier. Put a shortcut to MT4 in you Programs> STartup folder on the start menu. You can navigate there by right clicking the start button and choosing explore. This will require that user to automatically log in before it will work.

You can also add it to the registry,
HKLM\Software\Microsoft\CurrentVersion\RunServices
The entry would be "C:\Program Files\MetaTrader 4\terminal.exe" or whatever your path is. THis would not require the user to log in but it is rather advanced.
There is a utility from MS to run a normal application as a Windows Service ... it's called srvany and you can find more info at http://support.microsoft.com/kb/137890 but I think that might be difficult for the monitoring of the application and I doubt that you could actually see the MT4 window.

Also running this stuff on a VPS you may want to consider running the DataService from MetaTrader to optimise your network bandwidth. This would definitely help you out if you were running multiple MT4 from a single broker. Just make sure that you configure your MT4 clients to actually use the DataService installed on your local VPS.
__________________
Just my 2 pips worth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 11-30-2006, 03:14 PM
faizuuu faizuuu is offline
Junior Member
 
Join Date: Jun 2006
Posts: 15
faizuuu is on a distinguished road
Wink http://www.vpsland.com/winplans.html

http://www.vpsland.com/winplans.html


$25 for 1 month start.

i have one bussines plan its great
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26 (permalink)  
Old 11-30-2006, 05:42 PM
Alex.Piech.FinGeR's Avatar
Alex.Piech.FinGeR Alex.Piech.FinGeR is offline
Senior Member
 
Join Date: Oct 2005
Location: Germany
Posts: 305
Alex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud ofAlex.Piech.FinGeR has much to be proud of
Thumbs up

..............


Last edited by Alex.Piech.FinGeR : 11-30-2006 at 05:50 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27 (permalink)  
Old 11-30-2006, 08:17 PM
mcbalta mcbalta is offline
Member
 
Join Date: Nov 2005
Posts: 40
mcbalta is on a distinguished road
Auto start from an NT Service

Hi there,

XYNTService.exe is a good solution to start multiple MT4's without login.
This solution is working on a seperate windows server, but on VPS account, I could not successfully setup it.

Hope this solves. But there is a deep problem on VPS, to autostart an exe, before login. I could not discovered yet. Possibly some resource/user right etc. problem...

--sample ini file-----------
[Settings]
ServiceName=InterbankFX
CheckProcessSeconds = 300
[Process0]
CommandLine = c:\Program Files\InterbankFXA\terminal.exe
WorkingDir= c:\Program Files\InterbankFXA\
PauseStart= 10000
PauseEnd= 10000
UserInterface = Yes
Restart = Yes
[Process1]
CommandLine = c:\Program Files\InterbankFXB\terminal.exe
WorkingDir= c:\Program Files\InterbankFXB\
PauseStart= 10000
PauseEnd= 10000
UserInterface = Yes
Restart = Yes
----------------------
Attached Files
File Type: zip XYNTServiceProject.zip (93.2 KB, 76 views)

Last edited by mcbalta : 11-30-2006 at 08:22 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28 (permalink)  
Old 11-30-2006, 08:33 PM
saltcafe's Avatar
saltcafe saltcafe is offline
Member
 
Join Date: Sep 2006
Posts: 34
saltcafe is on a distinguished road
Quote:
Originally Posted by mcbalta
Hi there,

XYNTService.exe is a good solution to start multiple MT4's without login.
This solution is working on a seperate windows server, but on VPS account, I could not successfully setup it.

Hope this solves. But there is a deep problem on VPS, to autostart an exe, before login. I could not discovered yet. Possibly some resource/user right etc. problem...... snip ...
For the autostart you need what I described earlier. A few posts above this one ... srvany from MS. Hope this solves your problem. This should work as under the VPS solution you have the server dedicated to yourself, without any restrictions. You need to be an admin to set this up on the VPS box.
__________________
Just my 2 pips worth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29 (permalink)  
Old 12-01-2006, 01:35 AM
ARBAT ARBAT is offline
Junior Member
 
Join Date: Aug 2006
Posts: 11
ARBAT is on a distinguished road
Wink

Quote:
Originally Posted by faizuuu
http://www.vpsland.com/winplans.html


$25 for 1 month start.

i have one bussines plan its great
thats a good find, I found this software (firedaemon) for automatic start. It also includes a schedule feature, which I find very beneficial.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30 (permalink)  
Old 12-01-2006, 06:13 AM
mcbalta mcbalta is offline
Member
 
Join Date: Nov 2005
Posts: 40
mcbalta is on a distinguished road
Quote:
Originally Posted by saltcafe
For the autostart you need what I described earlier. A few posts above this one ... srvany from MS. Hope this solves your problem. This should work as under the VPS solution you have the server dedicated to yourself, without any restrictions. You need to be an admin to set this up on the VPS box.
"srvany.exe" is a stupid microsoft solution. and did not worked on VPS. please be aware that on VPS, you are just being admin of virtual resources. so everything is not the same with a normal server. shortly, "createprocess" is insuccesfull already on VPS

Last edited by mcbalta : 12-01-2006 at 06:15 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/setup-questions/1768-ea-remote-servers.html
Posted By For Type Date
[ask]script untuk auto reboot pada Virtual Private Server - Fxopen forex forum - forex review - trading methods - education - analytics Post #61 Refback 01-16-2008 12:25 AM
[ask]script untuk auto reboot pada Virtual Private Server - FXOpen Forex Forum Post #61 Refback 11-24-2007 04:01 PM
[ask]script untuk auto reboot pada Virtual Private Server - FXOpen Forex Forum Post #61 Refback 11-05-2007 02:28 AM
ckowyong.com - finding the best expert advisor… » misc::forum thread links This thread Refback 11-01-2007 04:11 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
MT4 Scan For Servers Fail JDog Setup Questions 1 06-19-2007 03:09 PM
Servers ips and ports lizmerrill Metatrader 4 0 05-12-2007 11:09 PM
Any MT4 servers in EST ? sing Metatrader brokers 0 03-02-2007 04:13 PM


All times are GMT. The time now is 11:02 AM.