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

Re: Macd properties



PureBytes Links

Trading Reference Links


Gee Lionel. I'm using 7.2 and the formula seems to work fine. If it needs
any revision, feel free to make any changes!
Is it not working in your version?
Lionel Issen wrote:
 
<blockquote dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
This seems
to be formulated for an earlier version of Metastock.  Is there a
formulation for Version 7.xx?

<span 
  class=701223812-16062002>

<span 
  class=701223812-16062002>Lionel 

<span 
  class=701223812-16062002>

<span 
  class=701223812-16062002>-----
Original Message -----

<div 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From:
Larry

To: metastock@xxxxxxxxxxxxx

Sent: Saturday, June 15, 2002 2:18
AM

Subject: Re: OBTR
 I have the following formula for On Balance True Range!
Mov(Cum(If(C > Ref(C,-1),1,-1) *
      (If(Ref(C,-1) < L,
      {Then} (H - Ref(C,-1)),
      {Else}
      If(Ref(C,-1) > H,
      {Then} (Ref(C,-1) - L),
      {Else} (H - L) )))), 10 ,E);
Mov(Mov(Cum(If(C > Ref(C,-1),1,-1) *
      (If(Ref(C,-1) < L,
      {Then} (H - Ref(C,-1)),
      {Else}
      If(Ref(C,-1) > H,
      {Then} (Ref(C,-1) - L),
      {Else} (H - L) )))), 10 ,E),10,E);
Mov(Mov(Mov(Cum(If(C > Ref(C,-1),1,-1) *
      (If(Ref(C,-1) < L,
      {Then} (H - Ref(C,-1)),
      {Else}
      If(Ref(C,-1) > H,
      {Then} (Ref(C,-1) - L),
      {Else} (H - L) )))), 10 ,E),10,E),10,E)
Bob wrote:

Here
is one to fool around with. Put an EMA on it or watch for cross of zero.
I think something similar was in the old Livewire software. Called "On
Balance True Range." If anyone finds a good use for it let us know.Cum(
    If( C, >, Ref(C,-1),
+ ATR(3) ,
       
If( C, <, Ref(C,-1), -ATR(3), 0) ))  
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.370 / Virus Database:
205 - Release Date: 6/5/2002