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

Re: [EquisMetaStock Group] Tom Demark's 1



PureBytes Links

Trading Reference Links

without going into the details of the formula which you have posted, this is the demarker which i have
 
per1:= Input("Enter Periods",1,200,14);
h1:=If(H>Ref(H,-1),H-Ref(H,-1),0);
l1:=If(L>Ref(L,-1),0,Ref(L,-1)-L);
dem:=(Mov(h1,per1,S)/(Mov(h1,per1,S)+Mov(l1,per1,S)))*100;
dem;
 
See if it fits.
 
Dusant
----- Original Message -----
From: kalkul17
Sent: Saturday, April 09, 2005 1:45 AM
Subject: [EquisMetaStock Group] Tom Demark's 1



Hi allI am new to Metastock and this forum as well but the tech guys
at Metastock referred me there to find the answer to this question.  I
have the syntax for the Demarker 1 but it doesn't match up with
Metastock.  Can anyone give me the Metastock for the Demarker 1 or
maybe convert this formula for me?

TIA

Formula;

Calculation:

The value of the DeMarker for the "i" interval is calculated as follows:

    *

      The DeMax(i) is calculated:
      If high(i) > high(i-1) , then DeMax(i) = high(i)-high(i-1),
otherwise DeMax(i) = 0
    *

      The DeMin(i) is calculated:
      If low(i) < low(i-1), then DeMin(i) = low(i-1)-low(i), otherwise
DeMin(i) = 0
    *

      The value of the DeMarker is calculated as:
      DMark(i) = SMA(DeMax, N)/(SMA(DeMax, N)+SMA(DeMin, N))

Where:
SMA — Simple Moving Average;
N — the number of periods used in the calculation.








Yahoo! Groups Links

Yahoo! India Matrimony: Find your life partner online.