PureBytes Links
Trading Reference Links
|
Joe
> Probably, too many nested If statements or too many PREV functions.
That's exactly what it was, 13 or 14 nested If() functions with a PREV innermost. I posted a version
with 2 If()'s and a PREV, then realized that the same task could be done with a latch (no PREV at
all). I thought I had posted it yesterday but it doesn't seem to have appeared, and I can't find my
sent item either.
Here's the "latch" version. The only difference from the PREV version I posted for Bob is that the
initial signal is -1 instead of zero. Easy enough to change if really necessary.
Y:=Year();
M:=Month();
D:=DayOfMonth();
LS:=
If(BarsSince(Cum(1)=1 OR (Y=2004 AND
((M=1 AND D=7)+
(M=2 AND D=2)+
(M=2 AND D=27)+
(M=4 AND D=22)+
(M=5 AND D=17)+
(M=6 AND D=18)+
(M=7 AND D=21))))<
BarsSince(Cum(1)=1 OR (Y=2004 AND
((M=1 AND D=26)+
(M=2 AND D=20)+
(M=3 AND D=18)+
(M=4 AND D=29)+
(M=6 AND D=14)+
(M=6 AND D=29)+
(M=8 AND D=3)))),1,-1);
LS;
Roy
> Trader Joe...
>
> --- In Metastockusers@xxxxxxxxxxxxxxx, "bob1" <bob1@xxxx> wrote:
>> All:
>>
>> I have Metastock 8.01 EOD running Windows 2000.
>>
>> I went to add to an existing indicator, and when
>> I pushed the OK button to save it, I got the
>> following error:
>>
>> Internal Compilor Error
>> Insufficient memory for binary.
>>
>> What does this mean?
>>
>> Bob
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/zMEolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|