logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Spaceant  
#1 Posted : Wednesday, June 14, 2006 1:21:58 AM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Hi, Sometimes, I have experienced that "MS is getting difficult to update the data", see below. How can we optimize MS? For my experience, I can not open too many chart in real time, attaching differenct indicators..... when the market is fast, the problem is prominent. Could anyone share their experience in optimzing MS in this area? saUserPostedImage
hayseed  
#2 Posted : Wednesday, June 14, 2006 4:15:07 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey spaceant..... i get a similar error about a dozen times a day.... it might read slightly different, will check tommorrow..... in my case it is both too many charts/layouts and too many complex indicators..... it appears you have several other programs and 7 ie pages..... all that takes system resources also..... the 2 excels , are they doing any running computations ...... you also task manager open, can you recall how many processes were running..... and what load were the ie pages taking...... several other things come to mind, such as are there any j-ava applet's running on the web pages..... and reguarding processes, what priority are the various metastock components set at , normal , high, realtime..... the priority might be low... hmm, had to put the - in j-ava.... appears phpbb doesn't like the word .... now thats real protectionism..... or maybe php is hexakosioihexekontahexa[color=red:7f402ea5d2]ja-va[/color]phobic as wabbit would say...h
wabbit  
#3 Posted : Wednesday, June 14, 2006 8:05:46 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
hayseed wrote:
or maybe php is hexakosioihexekontahexa[color=red:f92b26575e]ja-va[/color]phobic as wabbit would say...h
Well J_A_V_A is the work of the devil himself.... so it goes to figure! :evil: wabbit :D
Spaceant  
#4 Posted : Wednesday, June 14, 2006 11:05:02 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Hi Hayseed, Here are the details that you asked:- 1) there is no j-ava applet's running on the web pages 2) The 2 excels are not running computations, well they do when numbers are plug in manaully 3) regarding MS processes, the priority of Eqfilsrv.exe & Eqdatsrv.exe are set to be high while MS is set ot be normal. But I did mark it up to high or even realtime when it was not responding. However, when it was set to be realtime, the cursor moved responding quick slowly. 4) I have another realtime quoting software, that is not a java based software, running side by side with MS, as you can view in the above capture picture. The fact is that this software is able to open more charts / layouts with multiple timeframes. Well, its speed is faster than MS... you may not believe it, but it is true.... it is a dilemma you know for the reason why I run MS and this software simultaneously as they supplement each other.... MS is not able to view, or with a great difficulty, multiple charts / layouts..... while I can develop customer based indicators in MS 5) I have tried to offline the realtime quoting software when MS has got the alert message, still MS is getting slow in updating especially in fast market.... I don't quite satisfy its speed and performance in this area.... 6) The key fast is that I have only one computer now and need to run the programs at the same time...... while I would like to optimize in some way to improve the performance of MS if there is any area available sa
hayseed  
#5 Posted : Thursday, June 15, 2006 12:07:45 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sa... is that zone alarms you have as firewall.... seem to remember something about them awhile back..... you have ruled out just about everything i know to check..... sorry, i forgot to pay attention to the error message i get..... will look again tommorrow..... about a dozen times a day i get something similiar..... but for sure in my case its too many charts/layouts..... it does not seem to matter which method i'm connected to the internet.... dialup, wireless, dsl, lan all give the same at times.... i have many computers and run meta solely on 2..... etrades platforms are on others and optionexpress on another.... its just easier to keep everything seperate..... i have always felt the problem lies with either esignal, my realtime provider, or the computers math processor and its associated support components..... in my case everything on the affected machine slows..... also the computers temp rises high...... so for sure something is getting hosed up..... i have never seen anyone post a answer.....h
Spaceant  
#6 Posted : Thursday, June 15, 2006 1:15:50 AM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

hayseed wrote:
hey sa... is that zone alarms you have as firewall.... seem to remember something about them awhile back..... you have ruled out just about everything i know to check..... sorry, i forgot to pay attention to the error message i get..... will look again tommorrow..... about a dozen times a day i get something similiar..... but for sure in my case its too many charts/layouts..... it does not seem to matter which method i'm connected to the internet.... dialup, wireless, dsl, lan all give the same at times.... i have many computers and run meta solely on 2..... etrades platforms are on others and optionexpress on another.... its just easier to keep everything seperate..... i have always felt the problem lies with either esignal, my realtime provider, or the computers math processor and its associated support components..... in my case everything on the affected machine slows..... also the computers temp rises high...... so for sure something is getting hosed up..... i have never seen anyone post a answer.....h
hey heyseed, do you mean I should shut down zonealarm?? what else should I use for virus / firewall protection as you may have a better choice? sa
Spaceant  
#7 Posted : Thursday, June 15, 2006 1:31:14 AM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

haysseed, one more question, do you need to shut down MS and re-run it again after the error message pops up? sa
hayseed  
#8 Posted : Thursday, June 15, 2006 11:02:32 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sa..... no i wouldn't shut down zonealarm, but seem to remember someone having posted difficulties with it long ago..... zonealarm is probably as good as norton and mcaffe.... i use those because they come on the computers i buy, no reason other than that.... any protection type program is standing betweeen all data coming in, its their job to filter, and meta but its doubtful they slow things down to any measurable degree..... i never have to restart meta.... just x out the errror message, a little later the companion message comes along saying meta is now updating at optimum speed..... about once every couple days i'll have to shut down and restart meta due to the 'not responding message'..... but my machines are running sometimes 16 hours a day so 1 hang up every 32 hours is to be expected.... as a comparision, microsoft frontpage hangs up many many times more often....h
Justin  
#9 Posted : Thursday, June 15, 2006 12:41:52 PM(UTC)
Justin

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/13/2004(UTC)
Posts: 673
Location: Salt Lake City, UT

Do you have any expert advisors open on any of your charts? To your knowledge, do any of your indicators use the Security function, the PREV function, or the FML function? How many total charts do you have open in MetaStock? Do you use the Next/Previous Security buttons to browse to other symbols? Do you have the same problems using Charts instead of Layouts? How many records do you have loaded into your layout files?
hayseed  
#10 Posted : Thursday, June 15, 2006 3:17:47 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey sa..... here is a screen shot..... i usually just ignore the message..... it will clear on its own..... already this morning its came up 4 times..... once it cleared even after i had almost doubled the number of layouts open and had even more complex indicators applied..... this short covering rally almost definetly has the data suppliers struggling to keep up...... i lean toward them being part of the problem..... in effect starving meta for the data it needs to do the math in a timely manner..... and i am making matters worse by having so much open..... my layouts only go down to the 5 minute chart, nothing lower...... check with ya later, will be tied in the markets rest of the day.....h
Spaceant  
#11 Posted : Thursday, June 15, 2006 4:58:42 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Hey Hayseed and Pyradius, Hayseed, I share the same experience re ...." i usually just ignore the message..... it will clear on its own". Today, I have tried two things - opening two different types of layouts (one with the message for "too many charts, complex expert advisors...." - MS is still running, one for error message that I have posted in another thread forcing MS to shut down periodically.... 5 - 10 mins or at most for 15 mins! http://forum.equis.com/v...ic.php?t=4097&highlight= 1) layouts with the message for "too many charts, complex expert advisors...." I have tried to open 3 layouts, each with three individual charts in 3 timeframes (1-min, 5-min & 15-min), i.e. I have 9 charts opened. Each with self developed expert advisors which have 4 for buy signals and 4 for sell signals. None of them, but perhaps Fml funture (not sure if you are talking the same time, see below for an example) have the functions mentioned by Pyradius. But one function is used a few times is Ref function. Here is an example for a Buy Signal (well, I want to simplify them ... it may take me a long time to do it as I spend almost 2 months developing my expert advisors...I am sure it is a painful job for a non-expert programmer like me!! haha ) Buy signal
{Buy - At T0 or Ref(-2):- minimal volatility flat for 6 bars, STC not overbought} {Flat for six period -2 to -7} Signal:=( (Ref(Fml("BB & K Band Binary"),-2) OR Ref(Fml("BB & K Band Binary"),-3) OR Ref(Fml("BB & K Band Binary"),-4) OR Ref(Fml("BB & K Band Binary"),-5) OR Ref(Fml("BB & K Band Binary"),-6) OR Ref(Fml("BB & K Band Binary"),-7)) AND Ref(C,-4)< Ref(FmlVar("Boll Typ","UB"),-4) AND If(Ref( FmlVar("STC","MV"),-2)>0,1,0) AND If(Ref( FmlVar("STC","MV"),-1)>0,1,0) AND If(FmlVar("STC","MV")>0,1,0) AND If(Ref(C>FmlVar("Boll Typ","UB"),-1),1,0) AND {At T1 or Ref(-1): close outside UBB, C>O, STC not overbought, BB divergence} If(Ref(C>O,-1),1,0) AND {BB Divergence at T1(-1) & T2} FmlVar("Boll Typ","UB")>Ref(FmlVar("Boll Typ","UB"),-1) AND FmlVar("Boll Typ","LB")<Ref(FmlVar("Boll Typ","LB"),-1) AND {M7>M23 & +ve slope} Ref(Mov(C,7,S),-1)>Ref(Mov(C,23,S),-1) AND Ref(Mov(C,7,S),-1)>Ref(Mov(C,7,S),-2) AND Ref(Mov(C,23,S),-1)>Ref(Mov(C,23,S),-2) AND {SAR start trending at least at T0 & +ve slope} Ref(C,-1)>Ref(SAR(0.02,0.2),-1) AND {Ref(SAR(0.02,0.2),-1)>Ref(SAR(0.02,0.2),-2) AND} {At T2, exceed by 3 ticks} H>=Ref(H,-1)+3); Signal AND Alert(Signal=0,2); If(Ref(BarsSince(Signal=1),-1)>5,signal,0)
It is running okay without shutting down, although I am not able to switch layouts efficiently or immediately... switching may take a few seconds, but it is still running in the fast market.... 2) Forcing MS to shut down periodically I open two charts, in a layout, each with two securities on the chart. Each chart with the same expert advisor attached, 4 for buy signals and 4 for sell signals. Each chart has four indicators, all are using Security function (will that cause big problem!!??) It can run barely okay, then an error message as shown in another thread, force MS to show down..... not sure if it is because of the Security function or not. But I really need this function to work the chart out as I need to compare two index future for hedging opportunity...... I hope that you can give me advice to resolve them especially for the second one..... as I may need, as Hayseed said, to face the first type of error messages, just leave them and let they go away afterwards..... sa
Spaceant  
#12 Posted : Thursday, June 15, 2006 5:02:19 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

one thing have not mentioned.... 1) layouts with the message for "too many charts, complex expert advisors...." each chart has 9 indicators.... not very complex, I suppose sa
Justin  
#13 Posted : Thursday, June 15, 2006 5:28:37 PM(UTC)
Justin

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/13/2004(UTC)
Posts: 673
Location: Salt Lake City, UT

Who is your data vendor by the way? I do not recognize the symbols you are using. Are you using local intraday files or data on demand? If it's not a supported data vendor it may be difficult to troubleshoot that kind of thing unfortunately. One thing you can try is detaching the experts from your charts and see if the problem persists.
Spaceant  
#14 Posted : Friday, June 16, 2006 1:11:55 AM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Hi Pyradius, Well, I am using a local data provider. Let me add some more information here that may help resolving the problem:- 1) layouts with the message for "too many charts, complex expert advisors...." I have been using first type of layouts, attaching the expert advisor (once developed no amendment has been made), for half a year. No shut down problem occurs or persists, if yes just very occasional as Hayseed mentiond - once in two or few days. You do not recognize the symbols in the examples of the Buy Signal of my expert as those are self developed indicators, here are some examples:
BB & K Band Binary Pd:=Input("Period",1,30,20); Px:=Typical(); BBwidth:=BBandTop(Px,Pd,S,2)-BBandBot(Px,Pd,S,2); {Keltner Bands} {edited - Thanks IR} prd1:= Input("EMA Periods",1,100,20); prd2:= Input("ATR Periods",1,100,20); multiplier:= Input("ATR Multiplier",1,10,1.5); multiplier1:= Input("ATR Multiplier",0.5,10,1); x:=Input("Data: 1-O 2-H 3-L 4-C 5-MP 6-Typ",1,6,4); x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=4,C,If(x=5,MP(),Typical()))))); AV:= Mov(x,prd1,E); UL:= AV+ATR(prd2)*multiplier; LL:= AV-ATR(prd2)*multiplier; UL1:= AV+ATR(prd2)*multiplier1; LL1:= AV-ATR(prd2)*multiplier1; KBwidth:=UL-LL; KBwidth1:=UL1-LL1; Signal:=If(BBwidth<=KBwidth,1,0); Signal1:=If(BBwidth<=KBwidth1,1,0); Signal;Signal1
STC Ktime:=Input("Time periods for %K",2,40,14); Kslow:=Input("Time periods for %K slowing",1,5,3); Diff:=Input("Moving Average Period",1,5,3); Stc:=Stoch(Ktime,Kslow); MD:=Mov(stc,Diff,S); MV:=Stc-MD; Cxup:=Cross(Stc,MD); Cxdown:=Cross(MD,Stc); Signal:=50+Cxup*40-Cxdown*40; Stc;MD;Signal
Boll Typ Pd:=Input("Period",1,30,20); x:=Input("Data: 1-O 2-H 3-L 4-C 5-MP 6-Typ",1,6,6); x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=4,C,If(x=5,MP(),Typical()))))); LB:=BBandBot(x,Pd,S,2); UB:=BBandTop(x,Pd,S,2); BollMA:=Mov(x,Pd,S); UB;LB;BollMA;
2) Layout Forcing MS to shut down periodically One thing that I have checked today - actually, I have already detached the expert advisor. Therefore, we can eliminate that the shut down problem caused by the expert advisor. Also, I have recently installed GV dll to set global variables used in three out of four indicators used in each of the chart, with totally two charts, in this layout. It appears to me that the shut down problem may link with the (extensive?) usage of Security function in the four indicators in each chart (x 2 charts). One thing may be the cause (I am not sure): Theer are two securities being used for the Security function. These two securities are grouped and stored in a folder with other ~ 3280 securities (for local securities, futures & warrants grouped together). Also, there are other foreign currriencies being updated simultaneously in other folders. Adding up, I would say there are around ~ 3500 - 3700 securities being updated realtime. That may be the cause!! I also notice that under Tools \\ Option \\ eSignal \\ Cache Folder, it limit cache to 500 securities as a default value, as 500 is far lower than 3280!!?? Would this be the cause of shut down?? sa
wabbit  
#15 Posted : Friday, June 16, 2006 1:35:33 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Spaceant wrote:
It appears to me that the shut down problem may link with the (extensive?) usage of Security function in the four indicators in each chart (x 2 charts).
Don't quote me on this, but what happens when your chart, say, is a security starting with the letter 'A' and the Security() function is looking for a security starting with 'Z'. When 'A' gets updated, MS is going to look for Security('Z') which hasn't been updated yet??? The last bar in 'A' will be date and time 'x' whilst the last bar in the yet-to-be-updated 'Z' will be older than 'x'???? Maybe this disconnect is the problem? How to fix it???
Spaceant wrote:
Theer are two securities being used for the Security function. These two securities are grouped and stored in a folder with other ~ 3280 securities (for local securities, futures & warrants grouped together). Also, there are other foreign currriencies being updated simultaneously in other folders. Adding up, I would say there are around ~ 3500 - 3700 securities being updated realtime.
How many of these do you actually trade? Do you trade foreign currencies? Warrants? Futures? Try to reduce the stocks to just the 'universe' that you trade. If you only trade oil companies, create a folder that only has the tickers that you trade. This will simplify explorations (and make them HEAPS faster) and take the load off the update engine. It's worth a shot? wabbit :D
Spaceant  
#16 Posted : Friday, June 16, 2006 3:11:38 AM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Hi Wabbit, Thanks for your valuable input!! After I check the indicators, there should be four securities, 3 begin with HS and one begins with HH..... well, I normally trade futures and don't trade currencies, warrants, etc... that perhaps reduce to the "universe" of ~ 20 to 30..... Re how to create a folder with securities that I trade, is it of the following steps: 1) Using Downloader \\ Tools \\ Copy to copy the selected securities into a folder 2) Make the folder being updated realtime under Metastock \\ Tools \\ Option \\ Configure Server \\ Files Update; and delete all other folders Am I correct? I will try to do it in the lunch break, without trading, this afternoon. sa
wabbit  
#17 Posted : Friday, June 16, 2006 3:21:42 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
I THINK so.... My data provider gives me a tool to separate my tickers into the various folders etc, so I don't have to use the Dwonloader. I only ever use it to create my own data files for testing purposes (which is very rarely!) G, Hayseed and Henry are probably the best ones to ask about the DL, but give your method a whirl, and let us know how it goes. wabbit :D
Spaceant  
#18 Posted : Friday, June 16, 2006 8:18:45 AM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

It is really FRUSTRATING!! Poor me! For the past two hours, I have selected only 30 securities and run the layout that used to force MS to shut down. What I notice is that the speed of data updating is somewhat faster. But MS has been shut down for at least 4 to 5 times!!! I only open only the layout, see below. what else I can try to resolve the problem.....? sa UserPostedImage
Justin  
#19 Posted : Friday, June 16, 2006 1:07:25 PM(UTC)
Justin

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/13/2004(UTC)
Posts: 673
Location: Salt Lake City, UT

If you configure a local folder for realtime updates, I believe the MetaStock File Server will in fact attempt to update all intraday securities within that folder. While the message you are receiving is from the Data Server (Not the file server) it could be utilizing more of your bandwidth. There is always the possibility that the layouts have become corrupted. Try using new charts opened with the CLEAN.MWT template and see if the problem persists. If not, you may just want to reconstruct the layouts from new charts.
Spaceant  
#20 Posted : Friday, June 16, 2006 2:58:10 PM(UTC)
Spaceant

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/16/2005(UTC)
Posts: 182

Pyradius, The present layout was created yesterday from scatch, i.e. I opened a smart chart and select the security then adding indicators...... do you mean that I should open the charts with the CLEAN.MWT template to test it again to see if problem persists.... Also, do you see if the number of Cache would affect the stability of MS on my case that I have mentioned earlier today? sa
Users browsing this topic
Guest (Hidden)
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.