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

Re: code question



PureBytes Links

Trading Reference Links

Use the Ref function, Steve.
To shift the MOV forward
Ref(Mov(C,3,s),-3)

To shift the MOV backward
Ref(Mov(C,3,s),3)

I know it seems strange to have a -3 shifting forward, but that's how it works.

---
Joe



On Thu, 22 Aug 2002 10:09:45  
 Steve Karnish wrote:
>List,
>
>When coding a moving average, with a horizontal shift...is the code (mov(c,3,s), 3)?  
>
>Thanks,
>
>Steve Karnish, CTA
>Cedar Creek Trading
>www.cedarcreektrading.com
>1-877-668-1125
>


_____________________________________________________________
Play the Elvis® Scratch & Win for your chance to instantly win $10,000 Cash
- a 2003 Harley Davidson® Sportster® - 1 of 25,000 CD's - and more!
http://r.lycos.com/r/sagel_mail_scratch_tl/http://win.ipromotions.com/lycos_020801/index.asp?tc=7087