BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: ATR
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

ATR

 Post Reply Post Reply
Author
Message
pauley View Drop Down
Newbie
Newbie
Avatar

Joined: 18 Dec 2012
Location: Brisbane
Posts: 1
Post Options Post Options   Quote pauley Quote  Post ReplyReply Direct Link To This Post Topic: ATR
    Posted: 18 Dec 2012 at 9:55am
Is anyone aware of how we change the ATR to a 10 day, 1.25 ATR?
 
Or perhaps that can be written up as a new one?
 
Cheerio
 
Confused
pauley
Back to Top
rbbrain View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 22 Jul 2006
Location: Melbourne
Posts: 169
Post Options Post Options   Quote rbbrain Quote  Post ReplyReply Direct Link To This Post Posted: 05 Feb 2013 at 9:30am
Hi Pauley,

You could try the following Script for an indicator that places dots above, and below the price on a price chart (I am guessing that it is an indicator on the price chart that you want). If you want only the ATR dots above the price, then you can change the script to remove the lower ones (and vice versa). Or if you want the dots above to be a different ATR value, then again the script can be tweaked. Also, if you would rather have a stepped line instead of dots, or something different, then this is doable also.:

[description="This indicator shows ATR bands around the Typical Price, with the option to specify how far out the bands are to be placed. The purpose is to use the band as a Maximum Chase value when entering a stock (either long or short)."]
[citation="(citation not included)"]
[author=Brainy]
[target=Price]

atrperiods := input("Time Periods for ATR",13);
atrmultiples := input("ATR multiples",1.3);
atroffset := atrmultiples*atr(atrperiods);

TP := (H + L + C) /3;

stdha := TP + atroffset;
stdla := TP - atroffset;

[Name=Typical Price; linestyle = long dash; color = red]
TP;
[Name=Top; linestyle = points; color = blue]
stdha;
[Name=Bottom; linestyle = points; color = blue]
stdla;


Cheers

Robert Brain (Brainy)
Convenor - Australian BullCharts User Group
Brainy's Share Market Toolbox and BullCharts Tips
[/CENTER
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz