Topic: connected-disconnected

Hi I have problem whit FST. I run 10 copies of FST on my VPS server, but when I look at the up left corner to MT4 i see FST is "disconected" after 1 second it is "conected" and this happend usually 10-20 times in 1 minute. Some times everything is ok - 30 minutes is "conected", and at once start "conected"-"disconected".
I don't know why. Maybe it is from the conection betwen FST and MT4 i thing this conection is not in internet.  What should I do?
Best regards!

Re: connected-disconnected

It can happen when two FST - Expert pairs use one and the same Connection ID number.

Re: connected-disconnected

Hi Ppov thanks for thr answer, but I dont't have FST - Expert pairs whit one and the same Connection ID number - every pair is whit diffrent ID. 
Can it be from the VPS surver, or from the Brokcer?

Re: connected-disconnected

I experienced such problem with previous FST versions on VPS. The reason was that other user with the same ID numbers interferes with my connection. The latest FST codes also the VPS user name in the connection to MT4 and this problem was solved. You can easily test this case by stopping the experts. If some of your FST copies is still magically connected to a broker, it means that the connection comes from other user. (Ohh windows, windows what shell we do?)

Anyway, the problem is only in the VPS. See the attached program, you can monitor the connections with it. Each FST - MT makes a so called named pipe. The named pipes in this example are:

MT4-FST_Popov-120
FST-MT4_Popov-120

where Popov is my user name and 120 is the ID number.

http://s3.postimage.org/29h7c67r8/pipe_monitor.jpg

These pipes are channels for connection between MT4 and FST.
You can see new pipes for every connection you use.

Check it, some useful info may appear.

Post's attachments

Named Pipes Detector.zip 17.7 kb, 41 downloads since 2011-01-23 

You don't have the permssions to download the attachments of this post.

Re: connected-disconnected

I have had similar problem with connect-disconnect. It does it during running multiple FST's. I am having a problem with one strategy running on on FST changing Stop Loss on another trade that is open that was made by another FST strategy. IS this clear?

Re: connected-disconnected

I said stop loss, but it changes the take profit level as well which can be troublesome. The trades need to stay independent.

Re: connected-disconnected

By the way, great program. I am excited about the potential of this program. Thanks a million for creating this.

Re: connected-disconnected

I am having a problem with one strategy running on on FST changing Stop Loss on another trade that is open that was made by another FST strategy.

Hmm.. That should not happen. Please check if your Experts / FST run on different Symbols  with different Connection IDs.

In order to have connection the ID of FST-Expert must correspond.
After that for every trade, the Expert checks symbol and its Magic Number

        if (OrderMagicNumber() != Expert_Magic || OrderSymbol() != symbol)
            continue; // An order not sent by Forex Strategy Trader.

If expert connects - disconnects and interferes trades that means another FST is connected to the same chart. Is this happen only on VPS or in a single PC also?

Re: connected-disconnected

Hi, i use the last vesion of FST.
I made ID numbers whit 4 digts. But the promlem is still existing.
This is from "Named Piepes":

49 >MT4-FST_Administrator-7343<
48 >FST-MT4_Administrator-7343<
47 >MT4-FST_Administrator-6343<
46 >FST-MT4_Administrator-6343<
45 >MT4-FST_Administrator-2034<
44 >FST-MT4_Administrator-2034<
43 >MT4-FST_Administrator-1834<
42 >FST-MT4_Administrator-1834<
41 >MT4-FST_Administrator-1534<
40 >FST-MT4_Administrator-1534<
39 >MT4-FST_Administrator-1434<
38 >FST-MT4_Administrator-1434<
37 >MT4-FST_Administrator-1134<
36 >FST-MT4_Administrator-1134<
35 >MT4-FST_Administrator-3343<
34 >FST-MT4_Administrator-3343<
33 >MT4-FST_Administrator-2343<
32 >FST-MT4_Administrator-2343<
31 >FST-MT4_Administrator-1343<
30 >MT4-FST_Administrator-1343<
29 >TerminalServer\aEY4Df9U8ytvUTfMEs\2<
28 >net\NtControlPipe14<
27 >ROUTER<
26 >tapsrv<
25 >net\NtControlPipe12<
24 >Winsock2\CatalogChangeListener-8c68-0<
23 >TerminalServer\xdXtvhOniMwxeWpSi5\1<
22 >PIPE_EVENTROOT\CIMV2SCM EVENT PROVIDER<
21 >net\NtControlPipe11<
20 >Winsock2\CatalogChangeListener-9314-0<
19 >Ctx_WinStation_API_service<
18 >net\NtControlPipe10<
17 >keysvc<
16 >net\NtControlPipe0<
15 >wkssvc<
14 >epmapper<
13 >atsvc<
12 >net\NtControlPipe6<
11 >net\NtControlPipe5<
10 >net\NtControlPipe4<
09 >Winsock2\CatalogChangeListener-12120-0<
08 >net\NtControlPipe3<
07 >net\NtControlPipe2<
06 >net\NtControlPipe1<
05 >scerpc<
04 >ntsvcs<
03 >protected_storage<
02 >lsass<
01 >InitShutdown<

Re: connected-disconnected

Is the problem exists when you use lower number of FST running? Let say 5-6.
I experienced problems with 8 FST running - MT4 becomes unstable or crashes with error message.

Re: connected-disconnected

I try whith 5 copies of FST, and the promlem is still existing.
Can it be from the VPS surver I use http://www.ucvhost.com/VPS/Forex/ForexVps.aspx
When I use  http://www.forexvps.com/  i have no problems. But they are too expensive for me, because i need more RAM to start 10-20 copies of FST.

Re: connected-disconnected

This morning FST had a problem with taking profits and kept sending orders.
As a consequence my demo account was disabled. I contacted the helpdesk
of my broker and got the following response:

"It looks like your EA was sending a very large number of rejected orders to
our demo server.   When that happens the account is disabled to reduce the
number of rejected orders coming in.   Why exactly your EA was getting
rejected orders cannot be determined on our end".

13 (edited by genifor 2011-02-24 11:52:42)

Re: connected-disconnected

I have a position in FST but for some reason FST is not able to trade (take profit). When I try to get rid of the position through "OPERATION" the program refuses and gives "no connection" though it was connected before.

Question: How can I restore my position back to zero without using FST?



Problem solved! smile

My broker wrote:

"I have closed those positions for you and credited your account for the
profit.  They will not show in your account history because the only way to
close these "stuck" orders is to delete them on our end.  By deleting them
it is as if they never existed.  What causes these stuck orders is when a
software update and follow up test is done in our Demo environment.   The
unfortunate side affect is that random positions become "stuck" or no longer
recognized by our demo server and thus there is no way to close or alter
them except for deletion.

This does not happen in our live environment because live is only updated
with proven updates and only on the weekends so we do not interrupt any live
trading"

Re: connected-disconnected

Popov wrote:

Is the problem exists when you use lower number of FST running? Let say 5-6.
I experienced problems with 8 FST running - MT4 becomes unstable or crashes with error message.

Dear Master Popov and all experts,

I'm also experiencing such connect-disconnect problems on the demo account while running multiple copies of FST that reference to multiple copies of MT4. I opened about 4-5 copies and it keeps showing such indicators on some of the copies but sometimes it was ok.

This has jeopardized my trades as the stop loss and take profit were not done due to this. Losing money big time but luckily it's just demo account.

Have we found any solution to this problem? Is it the limitation on MT4? I'm using OANDA Meta Trader.

Thank you all.

Re: connected-disconnected

the problem may originate with the amount of memory available for metatrader.

I think you will have to give the specifics of your machine and the operating system for anyone to be able to give you any kind of answer.

From my experience Metatrader fails, nothing to do with FST, and the failure is caused by an overloaded computer

My 'secret' goal is to push EA Studio until I can net 3000 pips per day....

Re: connected-disconnected

Thank you Blaiserboy. Below is my laptop spec.

Processor = AMD Turion II P520 Dual-Core Processor 2.30 GHz
Installed RAM = 6.00GB
System type = 64-bit OS
Windows 7 Home Premium, Service Pack 1.

I'm running 5 copies of OANDA MT4 and 5 copies of FST. I've also had 2 copies of FSB running on Strategy Generator, which maxed out the CPU usage to 100%. Maybe I need few more PC's and Laptops ;-)

Thanks a lot.

Re: connected-disconnected

wilson78 wrote:

I'm running 5 copies of OANDA MT4 and 5 copies of FST. I've also had 2 copies of FSB running on Strategy Generator, which maxed out the CPU usage to 100%. Maybe I need few more PC's and Laptops ;-)

I think that the problem is in something else. I am using 19 instances of FST and 3 instances of MT4 in much lower-end hardware without any problems. I am using Windows XP x64.

Re: connected-disconnected

If it is a Dual-Core Processor try to close one FSB. One core for FSB and other core for everything else.

Re: connected-disconnected

Why 5 MT's and 5 FST's? I think 1 MT, 5 charts and 5 FST's should be a better solution.

Re: connected-disconnected

wilson78 wrote:

Thank you Blaiserboy. Below is my laptop spec.

Processor = AMD Turion II P520 Dual-Core Processor 2.30 GHz
Installed RAM = 6.00GB
System type = 64-bit OS
Windows 7 Home Premium, Service Pack 1.

I'm running 5 copies of OANDA MT4 and 5 copies of FST. I've also had 2 copies of FSB running on Strategy Generator, which maxed out the CPU usage to 100%. Maybe I need few more PC's and Laptops ;-)

Thanks a lot.

Hmmm I wonder if you use CCCleaner on a regular basis to clean out the garbage, that is a long shot.

I try to keep my CPU and memory both under 80 (4 dual processors).

I still think the problem is metatrader.

My 'secret' goal is to push EA Studio until I can net 3000 pips per day....

Re: connected-disconnected

hello to all,
i writing you to say that i have the same problem regarding connect and disconnect.
I am using a VPS Windows 2008 server 64 bit version with the last version of the software of Mr Popov.
But i have to to say that seems to happen with last version of FST.
do you need more info or a video?
bye for now
Luca - Italy

Re: connected-disconnected

I have the same issue here until today !

Have this problem solved ?

Then, if still happen, have you found the impact to live trading at MT ?

Is this also impact to trading with Daily chart ?
In my mind, trading within Daily chart only need to run this system at the time before and after the new Daily chart begin ! While we use open at new bar and close at the end of bar ! Right ?!

Re: connected-disconnected

Same issue. I only run single instance of FST.

I have no problem on my local 64 bit Win7 or 32 bit XP. But when on VPS, I got it connected - disconnect from now and then. Then I tried to change magic number and connection ID (single instance but multi-mode is on), didn't help.

25 >MT4-FST_vps1111Admin-8423<
24 >FST-MT4_vps1111Admin-8423<
23 >Winsock2\CatalogChangeListener-380-0<
22 >PIPE_EVENTROOT\CIMV2SCM EVENT PROVIDER<
21 >Winsock2\CatalogChangeListener-1e8-0<
20 >Ctx_WinStation_API_service<
19 >TermSrv_API_service<
18 >Winsock2\CatalogChangeListener-1e0-0<
17 >W32TIME_ALT<
16 >keysvc<
15 >winreg<
14 >wkssvc<
13 >Winsock2\CatalogChangeListener-320-0<
12 >atsvc<
11 >Winsock2\CatalogChangeListener-2ec-0<
10 >eventlog<
09 >LSM_API_service<
08 >epmapper<
07 >Winsock2\CatalogChangeListener-188-0<
06 >Winsock2\CatalogChangeListener-29c-0<
05 >plugplay<
04 >protected_storage<
03 >scerpc<
02 >ntsvcs<
01 >lsass<

Re: connected-disconnected

I cancelled my VPS service because I couldn't make FST work on VPS.

It was a Hyper-V VPS. I am not sure if this tech sucks.

25 (edited by Sam M. 2011-12-20 00:24:26)

Re: connected-disconnected

I'm having the same issue as fotlitbow above- Running a single instance of FST, getting connected/disconnected maybe 20 times each minute.

I run 32bit Windows 7, however it's run virtual (parallels) on a mac. So far I haven't had any Parallels/virtual machine related issues with FSB or FST.

Going to look at CPU/Memory and try to find out if the lack thereof is causing problems for MT-Although there don't seem to be any other overt functional issues with MT that would be caused by this.

Anyone else still having trouble? Any ideas or suggestions would be great.


26 >FST-MT4_Administrator-0<
25 >MT4-FST_Administrator-0<
24 >W32TIME_ALT<
23 >prl_SIAPipe<
22 >PIPE_EVENTROOT\CIMV2SCM EVENT PROVIDER<
21 >MsFteWds<
20 >Winsock2\CatalogChangeListener-1f0-0<
19 >Winsock2\CatalogChangeListener-1e8-0<
18 >srvsvc<
17 >trkwks<
16 >parallels_tools_pipe<
15 >keysvc<
14 >wkssvc<
13 >Winsock2\CatalogChangeListener-360-0<
12 >atsvc<
11 >Winsock2\CatalogChangeListener-300-0<
10 >eventlog<
09 >LSM_API_service<
08 >Winsock2\CatalogChangeListener-180-0<
07 >epmapper<
06 >Winsock2\CatalogChangeListener-2b0-0<
05 >plugplay<
04 >scerpc<
03 >ntsvcs<
02 >protected_storage<
01 >lsass<