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

Re: Formula Question



PureBytes Links

Trading Reference Links

Barry. Do you, or anyone on the list, have a formula for being able to enter
the date from which you want this indicator to start? Thanks.

----- Original Message -----
From: Barry Marx <bmarx@xxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: 21/February/2000 02:23
Subject: Re: Formula Question


> Below is a variation of the Chandelier Exit that I came up with.  It
doesn't
> solve the original question, but I like the way it plots better.  It holds
> the
> highest value every time the stop moves up, and never moves lower unless
> the stop is hit, in which case its value is reset.
>    - Barry
>
> Stop1:=If( PREV < L,
>   {then}  If(( H - 3*ATR(10) ) >= PREV,
>             {then} ( H - 3*ATR(10) ),
>             {else} PREV),
>   {else (L <= PREV)}
>           ( H - 3*ATR(10) ));
>
> Stop2:=If( PREV < L,
>   {then}  If(( C - 2.5*ATR(10) ) >= PREV,
>             {then} ( C - 2.5*ATR(10) ),
>             {else} PREV),
>   {else  (L <= PREV)}
>           ( C - 2.5*ATR(10) ));
>
> StopVal:=If(Stop1>Stop2,Stop1,Stop2);
>
> StopVal;
>
>
>
>
>