PureBytes Links
Trading Reference Links
|
Guy
Just for the fun of it, would you send me a copy of the indicator that is
hanging your system?
Just cut and paste it into an email if you want.
Also a brief write up on what the outcome is that you expect.
Don LaBarre
Web Developer
Visual Basic Programmer
www.u2ecom.com
www.cedarcreektrading.com
www.auto607.com
www.conklinplayers.com
----- Original Message -----
From: "Guy Tann" <grt@xxxxxxxxxxxx>
To: "Metastock User Group" <metastock-list@xxxxxxxxxxxxx>
Sent: Thursday, September 28, 2000 12:28 AM
Subject: More indicator questions??? Help!
> List,
>
> Well, I'm still playing with MS and trying to convert some of these
> indicators. This has gotten to be one of my longest conversions ever.
>
> To bring everyone and anyone up to date, I resolved my problem with MS'
> basic calculations by putting in my own code to handle simple addition and
> subtraction. Next, I ordered and installed v7.02 and didn't see any
> problems. I also was able to validate the calculations using Ref() and
they
> all work. I decided, at that point, that since I had used individual
> indicators for each one of my Ref() calculations, that I would probably
> benefit from combining them into 2 indicators. I copied the 18 Ref()
> variables into 2 indicators (I don't want to push it too much, so I
limited
> myself to 9 variables per indicator).
>
> I then checked out each variable again, validating them individually and
> they all work correctly. So far, so good!
>
> Now I'm trying to add the next bunch of variables in three different
> indicators. MS hangs completely and I have to End Task to shut it down.
I
> thought I might have made a mistake in one of my new variables, so I
copied
> them into Note Pad and deleted them all from MS.
>
> OK, for now, here's where we stand. First I rebooted the system to insure
> everything was fresh and clean. Next, I added a very simple variable to
one
> of my Ref() indicators.
>
> Indicator X01X09 contains 9 Ref() variables. They work! Next I add a
very
> simple variable to the indicator. Before adding this variable, X01X09
> contained 9 variables (which should be substantially less than MS' 20
> variable limit for one indicator). The system hangs completely again.
This
> variable looks like:
> CDL:= X01 + X02 + X03 + X04 + X05 + X06;
> CDL;
>
> Now this variable is in the same indicator as X01 through X06 (but I have
> tried it in an indicator on it's own referencing those detailed variables
in
> X01X09) so no indirect referencing should be necessary.
>
> I am at a total loss. MS hangs completely. If I go back and bracket this
> last variable out, MS still hangs. If I delete the code from the
indicator
> and reboot the system it starts to work again, until I add my next
> indicator. I've tried adding a different indicator and that dies as well.
> I went so far as to add a simple variable like CDL:= X01;
> CDL;
>
> And that didn't work either. If I didn't know better (or maybe I don't) I
> would assume I've reached MS' variable limit.
>
> I understand the MS 20 variable limit per indicator and MS' limit of 1,000
> indicators and I am nowhere near either of these. Are there other
internal
> limits that I don't know about? Is there an internal timeout within MS
and
> if my calculations take too long, MS assumes that the system died and
shuts
> itself down? Does MS do anything internally with my indicators that could
> affect the variable count or indicator count. The last 18 variables use
the
> Ref() function.
> Tomorrow, I'm going to try deleting these Ref() variables and then try to
> add the one that's been failing. Again, even with 40 years experience
> programming, I'm having problems that shouldn't hamper a neophyte. :)
> Thanks,
>
> Guy
>
> " If at first you don't succeed, skydiving is not for you."
>
|