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

Built in ATR indicator vs. custom ATR



PureBytes Links

Trading Reference Links

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2014.210" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999>All!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=620392310-26051999>I just discovered 
that the MetaStock for Windows 6.52 built in ATR function does not deliver the 
same results as the indicator below which I consider the correct ATR 
calculation:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=620392310-26051999>ATR custom 
indicator:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=620392310-26051999>periods:=Input("ATR 
Periods?",1,100,10);<BR>TH:=If(Ref(C,-1) &gt; 
H,Ref(C,-1),H);<BR>TL:=If(Ref(C,-1) &lt; 
L,Ref(C,-1),L);<BR>TR:=TH-TL;<BR>Mov(TR,periods,S)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=620392310-26051999>I have verified the 
results from the calculation of the above using Excel.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=620392310-26051999>Can anybody verify 
this result? Has anybody experienced this before?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=620392310-26051999>Yngvi 
Hardarson</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=620392310-26051999>hardy@xxxxxxxxxxxxx</SPAN></FONT></DIV></BODY></HTML>
</x-html>From ???@??? Wed May 26 06:59:07 1999
Received: from listserv.equis.com (204.246.137.2)
	by mail07.rapidsite.net (RS ver 1.0.4) with SMTP id 04258866;
	Wed, 26 May 1999 09:33:03 -0400 (EDT)
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id HAA23031
	for metastock-outgoing; Wed, 26 May 1999 07:17:30 -0600
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
	by listserv.equis.com (8.8.7/8.8.7) with ESMTP id HAA23028
	for <metastock@xxxxxxxxxxxxxxxxxx>; Wed, 26 May 1999 07:17:27 -0600
Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id HAA19136
	for <metastock@xxxxxxxxxxxxx>; Wed, 26 May 1999 07:29:03 -0600 (MDT)
Received: from StockCharts.com (mail.coolhistory.com [209.20.177.58])
	by smtp.nwlink.com (8.9.3/8.9.3) with SMTP id GAA17272
	for <metastock@xxxxxxxxxxxxx>; Wed, 26 May 1999 06:16:52 -0700 (PDT)
Received: from dell3200 [209.20.177.62] by StockCharts.com [209.20.177.62] with SMTP (MDaemon.v2.7.SP4.R) for <metastock@xxxxxxxxxxxxx>; Wed, 26 May 1999 06:21:49 -0700
Message-ID: <00bd01bea779$946ceb00$0c01010a@xxxxxxxx>
From: "Chip Anderson" <chipa@xxxxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Subject: Another great website created with MetaStock
Date: Wed, 26 May 1999 06:13:43 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00BA_01BEA73E.E7EC8140"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
X-MDaemon-Deliver-To: metastock@xxxxxxxxxxxxx
X-Return-Path: chipa@xxxxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
X-Loop-Detect: 1
X-UIDL: fe94f2baf740c1d5e07e539f0aab74ef.2a

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content="MSHTML 5.00.2614.3401" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>After a ton of hard work, we officially launched StockCharts.com 
today.</DIV>
<DIV>&nbsp;</DIV>
<DIV><A 
href="http://biz.yahoo.com/prnews/990526/wa_stockch_1.html";>http://biz.yahoo.com/prnews/990526/wa_stockch_1.html</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Very exciting.&nbsp; Check it out and please send me any feedback you 
have.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Chip Anderson</DIV>
<DIV>http://stockcharts.com</DIV>
<DIV><A 
href="mailto:chipa@xxxxxxxxxxxxxxx";>mailto:chipa@xxxxxxxxxxxxxxx</A></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
</x-html>From ???@??? Wed May 26 06:57:37 1999
Received: from listserv.equis.com (204.246.137.2)
	by mail07.rapidsite.net (RS ver 1.0.4) with SMTP id 03944338;
	Wed, 26 May 1999 02:22:25 -0400 (EDT)
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id AAA21666
	for metastock-outgoing; Wed, 26 May 1999 00:09:52 -0600
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
	by listserv.equis.com (8.8.7/8.8.7) with ESMTP id AAA21663
	for <metastock@xxxxxxxxxxxxxxxxxx>; Wed, 26 May 1999 00:09:50 -0600
From: bspark@xxxxxxxxxxxxxxxxxx
Received: from spark.bspark.com.au (spark.bspark.com.au [203.59.16.129])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id AAA18950
	for <metastock@xxxxxxxxxxxxx>; Wed, 26 May 1999 00:21:20 -0600 (MDT)
Received: from benzie (benz [203.59.16.130]) by spark.bspark.com.au (8.7.1/8.7.1) with SMTP id OAA06935 for <metastock@xxxxxxxxxxxxx>; Wed, 26 May 1999 14:05:23 +0800
Message-Id: <199905260605.OAA06935@xxxxxxxxxxxxxxxxxxx>
To: metastock@xxxxxxxxxxxxx
Date: Wed, 26 May 1999 13:49:31 +7
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: Speed lines & Trendline moving at random
In-reply-to: <19990526044359.1861.rocketmail@xxxxxxxxxxxxxxxxxxxx>
X-mailer: Pegasus Mail for Win32 (v3.01d)
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
X-Loop-Detect: 1
X-UIDL: 5307088e545db8e2a33ce32834b13a04.05

Rajat and Adam,

I found a couple of occasions where trend lines change position 
when zooming in and out: - 
A) Point and figure charts will see lines moving all over the place.

B) And on standard bar or line charts, I have found that after certain 
indicators eg relative comparitive strength indicator have been 
drawn on a chart. 
All trendlines that get added, seem to move with the indicator, 
rather than with the underlying price chart, when zooming in and out

Nothing like making a decision to buy on a trendline, zooming in 
and finding that your line has moved....

Regards

Benzie

On 25 May 99, at 21:43, Rajat Bose wrote:

> Adam,
> 
> Gann Fans would display the same angle only if start and end points of the
> Gann Fan are both within the display (on screen). If you try to magnify,
> they seem to show different angles and different support and resistance
> points.
> 
> However, this is not peculiar to Gann Fan lines in MetaStock. I have
> seen this happening on long term trendlines as well. Whenever a
> multiple year long trendline is studied closely by magnifying a certain
> portion of the chart, I have observed this problem.
> 
> In fine, Gann Fan lines drawn on our manual charts do not have this
> problem. Basically, the job of Gann Fan line or Gann angles are to show
> price and time relationship. 
> 
> Thanks.
> 
> Regards, 
> 
> Rajat
> 
> --- VonHef <VonHef@xxxxxxxxxxxxx> wrote:
> > Rajat,
> >  I have been testing the Gann Fan and Fibo
> > Fan.......
> > The Fibbo Fan seems to be a good compliment to the
> > Speed Resistance lines, but I am not likeing the
> > Gann Fan. Try this.....plot a Gann Fan on a chart,
> > then scale in or out and reaply the Fan on the same
> > point as the previous one. Notice how they will not
> > display the same angles? This is not good!
> > 
> >   Best wishes,
> >       Adam Hefner.
> > VonHef@xxxxxxxxxxxxx
> > 
> > ---------------------------------------
> > 
> > 
> > 
> > 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 


************************
Brightspark
sales@xxxxxxxxxxxxx
Voice: +61 9 375-1178
Fax: +61 9 375-1668
Unit 7, 11-13 Marchant Way
Morley WA 6062 Australia
Visit our WEB Page
http://www.bspark.com.au
************************