ATR |
Post Reply |
Author | |
rbbrain
BullCharts Staff Joined: 22 Jul 2006 Location: Melbourne Posts: 169 |
Post Options
Quote Reply
Topic: ATR 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 |
|
Convenor - Australian BullCharts User Group Brainy's Share Market Toolbox and BullCharts Tips [/CENTER |
|
pauley
Newbie Joined: 18 Dec 2012 Location: Brisbane Posts: 1 |
Post Options Quote Reply 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 |
|
pauley
|
|
Post Reply |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |