Sounds like you want to use the xshift parameter in plot()
---- Original Message -----
From: john10987654321
To: [email protected]
Sent: August 15, 2010 3:41 PM
Subject: [amibroker] Help with formula for a moving average "forward line"
The "forward line" is used by Charles Kirkpatrick in his work, working with
the simple moving average.
This example will use the 10-day SMA, though the parameter needs to be
configurable.
1) Plot the 10-day SMA 5 days earlier.
2) Now plot #1 ahead 10 days, or five days into the future.
I can't figure out how to write a formula to do this. Can anyone help?
Any help much appreciated.
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
Yahoo! Groups Links