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

Re: Horizontal & vertical Shift



PureBytes Links

Trading Reference Links

J-M:

You could use the Reference (Ref) function to shift your indicator back in
time and you could add or multiply by a constant or variable to give your
indicator a vertical shift.  I've never used a time series moving average so
I'm kind of out of my league, but I guess it could look like this:

TSMA:= Mov(CLOSE,5,TIMESERIES);
ShiftedTSMA:= Ref(TSMA, -1) + 2;
ShiftedTSMA

Hope this helps.


----- Original Message -----
From: Jean-Michel Daniele 
To: Metastock-list 
Sent: October 21, 1999 10:17
Subject: Horizontal & vertical Shift


> Hello dear list members,
>
> I am working on a time series moving average that includes a horizontal
> and vertical shift. There is no problem to change these parameters by
> using the moving average properties but what is bothering me, it is the
> fact that i would like to write an expert as well as a system tester.
>
> But when  I am trying to code my time series moving average, i can't
> find the way to include the vertical and horizontal shift.
>
> Could any kind member of the list help me in my quest ?
>
> Thank you in advance,
>
> J.-M. Daniele