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

[EquisMetaStock Group] Re: Horizontal Shift - Moving Average



PureBytes Links

Trading Reference Links

Pankaj
Horizontal Shift is plotting the value of MA, TODAY, with the previous
value. In this case it would be if(c > ref(mov(c, 3, s), -3), 1, 0)
which gives you a value of 1 when your condition is met.
Dusant

--- In equismetastock@xxxxxxxxxxxxxxx, "Pankaj Chandak"
<pankaj_chandak@xxxx> wrote:
> 
> Hello All,
> 
> One of the parameters which can be defined for Moving Average is
'Horizontal 
> Shift'.
> 
> My question is - how do avail this functionality when building a
system. For 
> e.g., I want to try:
> 
> Buy if the Close is > then Mov(C, 3, S) which is horizontally shifted 3 
> days.
> 
> Any help would be greatly appreciated.
> 
> thanks,
> 
> Pankaj.
> 
> _________________________________________________________________
> The new MSN 8: advanced junk mail protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/BefplB/TM
---------------------------------------------------------------------~->

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/