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

Re: Offset into future? - help



PureBytes Links

Trading Reference Links

BJ

As far as I know, you're limited to the past and cannot use a negative
number. You definitely can't plot past the last bar to forecast possible
price movement...

Neil

-----Original Message-----
From: Peter Iovanella <ivo1@xxxxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date: Wednesday, April 22, 1998 5:41 PM
Subject: Offset into future? - help


>I'm trying to set up a 3-line moving average cross, with each line offset a
>different amount into the future.  Here's what I did:
>
>Input: Price(close),Length1(21),Length2(15),Length3(9);
>
>plot1(Average(Price,Length1)[-15],"Avg1");
>plot2(Average(Price,Length2)[-9],"Avg2");
>plot3(Average(Price,Length3)[-5],"Avg3");
>
>I used negative values in the offset brackets.  I figured it would look
>forward instead of backward with the offset set to a negative value, since
>it looks backwards when the offset value is positive.  However, I can't
>figure out if I'm correct in this respect, since TS doesn't seem to allow
me
>to look forward past the last bar.  How can I get around this?  Is there
any
>way to offset into the future, or am I limited to the past?  Please help!
>
>BJ
>