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
|