PureBytes Links
Trading Reference Links
|
Thank You,
Any Idea on how to get the power editor to sell when the
close is < 6 period mov. avg is displaced 4 bars?
Ok let use this as an example:
If Open < Close : Go long
Exit If the close is less than
6 period mov. avg. displaced 4 periods
-----Original Message-----
From: KCSpread@xxxxxxx <KCSpread@xxxxxxx>
To: Matt Bowen <mbowen@xxxxxxxxxxxxxxx>
Date: Wednesday, July 22, 1998 7:24 PM
Subject: Re: Displaced Moving Average
>In a message dated 98-07-22 16:37:50 EDT, you write:
>
><< Does anyone know how to program the Displaced Moving Average for the
> Power Editor? >>
>
>
>
>Input : Price(Close), Length(7), Displace(5);
>
>If Displace >= 0 then begin
> If CurrentBar > Displace then
> Plot1(Average(Price,Length)[Displace],"AvgDisplace");
>End;
>
>If Displace < 0 then begin
> If CurrentBar > AbsValue(Displace) then
> Plot1[AbsValue(Displace)](Average(Price,Length),"AvgDisplace");
>End;
|