PureBytes Links
Trading Reference Links
|
Hi Gerald,
Is this what you need?
Regards,
Barry
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
inputs: Price( Close ), Length( 9 ), Displace( 0 ) ;
if Displace >= 0 or CurrentBar > AbsValue( Displace ) then
begin
Plot1[Displace]( AverageFC( Price, Length ), "Avg" ) ;
{ Alert criteria }
if Displace <= 0 then
begin
if Price > Plot1 and Plot1 > Plot1[1] and Plot1[1] <= Plot1[2] then
Alert( "Indicator turning up" )
else if Price < Plot1 and Plot1 < Plot1[1] and Plot1[1] >= Plot1[2] then
Alert( "Indicator turning down" ) ;
end ;
end ;
{ ** Copyright (c) 1991-2003 TradeStation Technologies, Inc. All rights
reserved. **
** TradeStation reserves the right to modify or overwrite this analysis
technique
with each release. ** }
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----- Original Message -----
From: "Gerald Marisch" <gm@xxxxxxxxxxxxx>
To: "Omega Chat" <omega-list@xxxxxxxxxx>
Sent: Friday, June 03, 2005 11:50 AM
Subject: Displaced Moving Average
>
> Anyone care to send me the PowerEditor code for a displaced moving
average?
>
> I deleted it but now can't find my TS disc to re-install it. Old age, you
> know........
>
> Thanks in advance!
>
> Gerald Marisch
>
>
|