PureBytes Links
Trading Reference Links
|
Stephanie,
FYI Tomasz had an article on DeMarker and Range Expansion Index in
the 2/2000 newsletter.
Geoff
--- In amibroker@xxxx, "Stephane Carrasset" <nenapacwanfr@xxxx> wrote:
> All & Tomasz
>
>
> As you can read below this is the MS code for a short version of
the
> buy setup of demark sequential
> AND, I need a llv var period to create it in Ami
>
> steph
>
>
> {*TD - SetUp-buy}
> TD1:=If(CLOSE<=Ref(CLOSE,-4),1,0);
> TD2:=If(TD1=1 AND Ref(TD1,-1)=1 AND Ref(TD1,-2)=1 AND Ref(TD1,-3)
> =1 , 1,0);
>
> TD3:=H>=Ref( ExtFml( "VarPeriod.LlvVar",L,
> BarsSince(BarsSince(TD1))),-1);
> TD4:=Ref(C,-4)>=Ref(C,-8);
>
> (TD3 AND TD2 AND TD4)
|