Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

How to advance a moving average Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Rosie
Posted : Sunday, August 12, 2007 4:25:56 PM
Gold Customer Gold Customer

Joined: 11/14/2004
Posts: 33
How can I advance a moving average of closing price (say a five day average) three days into the future so I can use this as a baseline for another moving average to cross? I would use this crossover as a trigger to trade.
Kuf
Posted : Sunday, August 12, 2007 9:56:30 PM


Administration

Joined: 9/18/2004
Posts: 3,522
Baroffset with a 3 would offset it 3 days into the future, and would allow you to compare the value 3 days ago with the current value.

It's the equivilant of C3 in a pcf.

Ken Gilb (Kuf)
Chief Software Engineer - Worden Brothers Inc.
Try/Catch - My RealCode Blog
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.