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

Re: DeMark Indicators



PureBytes Links

Trading Reference Links

There's a basic description at
http://www.tradertalk.com/tutorial/demark.html, although I
don't believe that site mentions the price overlap condition
which is now apparently considered elective in some markets.
The set up and price overlap conditions can be run as both a
test and exploration, but I'm not aware of a way to do the
same for the final 13 day condition.  As far as I know in
Metastock it must be counted by hand, easiest done by creating
an indicator plotted as a histogram.  If you want I can send
those indicators also.

Here's a short formula (which includes the "prerequisite"
mentioned) that signals when conditions Part A, 1 and 2 as
described from the site are met.  It's equivalent to an
extremely overbought/sold condition of a standard 4 day
momentum indicator.  It signals both buy and sell set ups.  As
an indicator, I think it's eaiser to read as a line rather
than a histogram:

{plots +1 for buys, -1 for sells}

If(Sum(Mo(4) < 100,9) = 9  AND
Ref(C,-9) > Ref(C,-13),1,0);
If(Sum(Mo(4) > 100,9) = 9  AND
Ref(C,-9) < Ref(C,-13),-1,0);


Here's the same code (also as an indicator) for Part A, 1 and
2 from the site in "long hand":

{Part A, 1 and 2 for buys}

If((C < Ref(C,-4) AND
Ref(C,-1) < Ref(C,-5) AND
Ref(C,-2) < Ref(C,-6) AND
Ref(C,-3) < Ref(C,-7) AND
Ref(C,-4) < Ref(C,-8) AND
Ref(C,-5) < Ref(C,-9) AND
Ref(C,-6) < Ref(C,-10) AND
Ref(C,-7) < Ref(C,-11) AND
Ref(C,-8) < Ref(C,-12) AND
{Prerequisite follows}
Ref(C,-9) > Ref(C,-13) ),1,0) ;

{Part A, 1 and 2 for sells}

If((C > Ref(C,-4) AND
Ref(C,-1) > Ref(C,-5) AND
Ref(C,-2) > Ref(C,-6) AND
Ref(C,-3) > Ref(C,-7) AND
Ref(C,-4) > Ref(C,-8) AND
Ref(C,-5) > Ref(C,-9) AND
Ref(C,-6) > Ref(C,-10) AND
Ref(C,-7) > Ref(C,-11) AND
Ref(C,-8) > Ref(C,-12) AND
{Prerequisite follows}
Ref(C,-9) < Ref(C,-13) ),-1,0)