Tracking SLM Entry Delay

This is a discussion on Tracking SLM Entry Delay within the Forex Net Trap forums, part of the Specialists' Corner category; Originally Posted by goldfinger777 JonBoy it's aworth analysing your internet connection and your latency to the SLM server to try ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Jul 24, 2011, 11:15am   #73
Joined Sep 2010
Re: Tracking SLM Entry Delay

Quote:
Originally Posted by goldfinger777 View Post
JonBoy it's aworth analysing your internet connection and your latency to the SLM server to try and diagnose the issues you're having.

You should not have to keep on closing down and restarting MT4.

My SLM MT4 and EAs run 24/7 uninterupted on a VPS. I do get a slight delay on entry at 06:30, but it's usually no more than 20 seconds which is OK.

To check what latency your connection has to the SLM trade server, do the following:

1. Start > Run.
2. CMD
3. In the command line window, enter the following:

ping 89.16.250.40

This will tell you how long it takes for your PC to send a data packet to the SLM live trade server, and receive a response back.

Ideally you're looking for a latency figure of 10ms or less. Anything higher than that and it could be negatively impacting your trade entry times.

I get 3ms on my VPS.
Thanks for the info GF,ive only got 30ms,on my pc,but what i dont understand is if i have a poor speed,why when i close mt4 and reopen do i get exactly the 6.30 open price why is it not delayed as i still have the poor speed?
jonboysport is offline   Reply With Quote
Old Jul 24, 2011, 11:16am   #74
 
AlexM's Avatar
Joined Mar 2010
Re: Tracking SLM Entry Delay

AlexM started this thread 18ms from 1&1 VPS for me.
Which VPS provider are you with Goldfinger?
AlexM is offline   Reply With Quote
Old Jul 24, 2011, 2:23pm   #75
Joined Jun 2010
Re: Tracking SLM Entry Delay

Quote:
Originally Posted by jonboysport View Post
Thanks for the info GF,ive only got 30ms,on my pc,but what i dont understand is if i have a poor speed,why when i close mt4 and reopen do i get exactly the 6.30 open price why is it not delayed as i still have the poor speed?
Not sure why you're having that specific problem, although it could be related to MT4 hogging some memory while it's open.

Here are some things you can do to reduce the memory that MT4 uses while it is open:


* Right-click the MarketWatch window and select "Hide All" to remove any unused price feeds.

* Limit the number of candles in the chart history to 5000.

* Create a batch script and run it as a scheduled task to cleardown MT4 logs on a daily basis.


Let me know if you need more info on how to do any of these things.
goldfinger777 is offline   Reply With Quote
Old Jul 24, 2011, 2:28pm   #76
Joined Jun 2010
Re: Tracking SLM Entry Delay

Quote:
Originally Posted by AlexM View Post
18ms from 1&1 VPS for me.
Which VPS provider are you with Goldfinger?
I'm using SWtech.

Had some issues with them initially, the server was randomly rebooting.

SWTech have since replaced the memory modules on the server that hosts my VPS, and since then it's been much better.

So the good things about SWTech are cheap price and low latency connection.

The bad things are slow customer service response and less reliability than some of the others like 1&1.

But with the tweaks I've done now to keep everything running even after a restart, any random reboots are no longer an issue.
goldfinger777 is offline   Reply With Quote
Old Jul 31, 2011, 5:39pm   #77
Joined Jan 2011
Re: Tracking SLM Entry Delay

The last few trades I've been watching the EA at trade time, and I didn't get any login errors. But when the trade was supposed to be placed, the EA didn't place the trade and instead said something like "Looking to place buy order at 1.64217" (can't remember the exact message). When the price retraced to that price the trade was then placed.

Watching the time on the EA, I noticed that this seems to only be updated when the price moves. So I think what might be happening is that the first tick of the 6:30 candle is received after 6:30 and the price has already moved too far past the slippage setting at this point for a trade to be placed, meaning that the EA has to wait for the price to retrace before it can place the trade.

Watching the charts on SLM, I do find that quite often there seems to be a delay between one candle finishing and the next starting. Although candles don't seem to jump much, they do seem to sometimes appear after a delay with the price already moved up or down from the open point.
djeyewater is offline   Reply With Quote
Old Jul 31, 2011, 6:14pm   #78
 
AlexM's Avatar
Joined Mar 2010
Re: Tracking SLM Entry Delay

AlexM started this thread
Quote:
Originally Posted by djeyewater View Post
The last few trades I've been watching the EA at trade time, and I didn't get any login errors. But when the trade was supposed to be placed, the EA didn't place the trade and instead said something like "Looking to place buy order at 1.64217" (can't remember the exact message). When the price retraced to that price the trade was then placed.

Watching the time on the EA, I noticed that this seems to only be updated when the price moves. So I think what might be happening is that the first tick of the 6:30 candle is received after 6:30 and the price has already moved too far past the slippage setting at this point for a trade to be placed, meaning that the EA has to wait for the price to retrace before it can place the trade.

Watching the charts on SLM, I do find that quite often there seems to be a delay between one candle finishing and the next starting. Although candles don't seem to jump much, they do seem to sometimes appear after a delay with the price already moved up or down from the open point.
I think you are spot on there djeyewater.
AlexM is offline   Reply With Quote
Old Aug 2, 2011, 10:08am   #79
Joined May 2009
Re: Tracking SLM Entry Delay

Quote:
Originally Posted by jonboysport View Post
havent had a problem since i close and re login before 6.30
I've been following Jonboy's advice on this and have now set up PC to automatically open MT4 and then close it again after trading ready for the next day:

Set up task scheduler to open MT4 at 6.28

Set up task scheduler to run nircmd (http://www.nirsoft.net/utils/nircmd.html) with parameter "closeprocess terminal.exe".
me1234 is offline   Reply With Quote
Old Aug 4, 2011, 11:02pm   #80
 
AlexM's Avatar
Joined Mar 2010
Re: Tracking SLM Entry Delay

AlexM started this thread
Quote:
Originally Posted by me1234 View Post
I've been following Jonboy's advice on this and have now set up PC to automatically open MT4 and then close it again after trading ready for the next day:

Set up task scheduler to open MT4 at 6.28

Set up task scheduler to run nircmd (http://www.nirsoft.net/utils/nircmd.html) with parameter "closeprocess terminal.exe".
You could use windows taskkill command to do that depending on your win version, not all have it.

Honestly I did not find that shutting down and restarting helped me at all.
I'm convinced that the issue is with the new tick required to process the EA code as described by djeyewater a few posts above.

Yesterday was 20 seconds early!

Spin' might be able to fix it by adding some "always on" refresh every x mS operation to the code but it would probably put the EA back into beta land for quite a while and drain resources quite a bit more on your PC&MT4 installation.
AlexM is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up an EA (Expert Advisor) on SLM (SmartLive Markets) using MetaTrader4 goldfinger777 Forex Net Trap 50 Jul 31, 2011 5:39pm
Tracking Trades fstmkt General Trading Chat 1 Nov 15, 2008 12:15am
Looking for a signal tracking service Tradercafe Forex 3 Mar 18, 2008 5:53pm
Tracking the trading.... *JDR* Trading Software 2 Aug 30, 2007 3:38pm
tracking performace with IB jmiles301 Educational Resources 0 Aug 1, 2006 2:00am

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)