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

Re: [EquisMetaStock Group] Rising Moving Average



PureBytes Links

Trading Reference Links

A:=mov(C,100,S);
B:=If(Sum(A>Ref(A,-1),11)>5,1,If(Sum(A<Ref(A,-1),11)>5,-1,0));
B;

B will =1 if a rising average, b will =-1 for a falling average

--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxx> 
wrote:
>
> Hi Longhair
> 
> 
> I hate to disagree with Lionel but it seems to me that both options 
say the same thing. That is that the 100-day SMA is rising. Applying 
the delay to the moving average or the function being averaged makes 
no difference, at least as set out in this simple scenario.
> 
> 
> Regards
> 
> Roy
> www.metastocktops.co.nz
> 
>  
> ----- Original Message ----- 
> From: Lionel Issen 
> To: equismetastock@xxxxxxxxxxxxxxx 
> Sent: Friday, December 01, 2006 10:52 AM
> Subject: RE: [EquisMetaStock Group] Rising Moving Average
> 
> 
> Metastock ha a built in indicator MSU. It will give you better 
answers. 
> 
> You should use more than a single day change to determine if a 
moving
> average is rising
> 
> Line 2 seems to be meaningless as as mov( today) will always be 
equal to mov
> (ref(today))
> 
> Lionel
> 
> _____ 
> 
> From: equismetastock@xxxxxxxxxxxxxxx 
[mailto:equismetastock@xxxxxxxxxxxxxxx]
> On Behalf Of longhair4277
> Sent: Thursday, November 30, 2006 11:59 AM
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] Rising Moving Average
> 
> Which of these 2 lines of code will tell me if the 100 day moving 
> average is rising?
> 1.) mov( close , 100 , simple ) > mov( ref( close , -1 ) , 100 , 
> simple )
> 
> 2.) mov( close , 100 , simple ) > ref( mov( close , 100 , 
simple ), -
> 1 )
> 
> or is there a "simpler" way of doing this
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
>  
> 
> [Non-text portions of this message have been removed]
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/