[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Metastockusers] Trading Systems



PureBytes Links

Trading Reference Links

Sainath

The "faulty" code you have presented below appears to have been typed rather than copied directly
from where you got the error. Is it possible you typed it incorrectly into MS but correctly for your
post? I can't seem to duplicate the errors you complain of.

Roy

----- Original Message ----- 
From: "sainath s" <sai20_2000@xxxxxxxxx>
To: <Metastockusers@xxxxxxxxxxxxxxx>
Sent: Sunday, February 22, 2004 12:26 AM
Subject: [Metastockusers] Trading Systems


> The following error uccurs while exploring the data
> for the channel breakout system which is conceptually
> as
> I)
> > long- the buy on close if todays close is higher
> than the highest
> > high of last 20 days
>
> Long:=C>ref(hhv(h,20),-1);
>
> > short- if todays close is lower than the lowest low
> of last 20 days
>
> Short:=C<ref(llv(l,20),-1);
>
>
> Error in column A: Invalid time period (zero or
> negative) passed to HHV() function.passed to HHV()
> function.
>
> and
>
> II)
>
> > 3)TRend Following system
> > Long- if the three consecutive closes is above 65 D
> SMA
>
> Long:=sum(C>mov(c,65,s),3)>=3;
>
> > Short- if the three consecutive close is below 65 D
> SMA
>
> Short:=sum(C<mov(c,65,s),3)>=3;
>
>
>
> Error:Period value out of data range in Mov() function
>
> Thanks in advance for the response
>
>
>
> =====
> Good Luck &
> Take Care
>
> Sainath
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>




 
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/