Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/30/2008 Posts: 97
|
How do I create a condition (or whatever) that computes the ATR as a percent of price.
Example: 10-period ATR value / price.last
But I need this to be a number that can appear in a column, labeled, say: "ATR%".
And, ideally, I would like to be able to edit the ATR period. Is this possible to do? If so, it would be very helpful to me.
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You should be able to Open an attached Indicator directly into a running copy of StockFinder (and save it from within StockFinder if desired). You could also copy and paste the Indicator into the \My Documents\StockFinder\(Your Username)\My Indicators\ folder and then load it like you would any other Indicator (for StockFinder 5, use the \My Documents\StockFinder5\(Your Username)\My Indicators\ folder instead). Attachments: ATR as Perc of Close.sfInd - 5 KB, downloaded 459 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/30/2008 Posts: 97
|
Okay, that should do it, Bruce. It's quite close. When I put up the actual 14-period ATR's closing number and divide it by the last period's closing price... it's off just a little bit from the indicator you made. Example: 2.74 compared to my manual division which yields 2.76. Or for another one, 4.90 compared to 4.97 my manual division.
But as I'm just using it for comparing and sorting various stocks, it looks close enough for rock and roll.
If you do have an answer as to why the little difference, cool, but otherwise I'm fine.
BN
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Try increasing the precision of the Scale to get a more precise Value for ATR (right-click on the Value Scale, select Edit and add zeros to the end of the Number Format). I've done the math using a calculator and the results match as do the Plots when I Drag and Drop the normal ATR Indicator onto Price History and take the ratio.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |