ATR is based on 3 price arrays C,H,L so a single array would not be any use
in the function
Just use the aTR inside a setforiegn / restorepricearrays zone in the AFL


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

On 27/11/06, Ed Hoopes <[EMAIL PROTECTED]> wrote:

I would like to use the ATR() function on a 'Foreign' stock  -  so I
can calculate the volatility of - say SPY, but use that ATR value in
calculating an indicator on some other security.

For example, there are 2 forms of RSI - RSI(Pers) and RSIa(Array, Pers).

Does anyone have a similar ATR function - say ATR(Array, Pers) ?

Thanks,

ReefBreak






Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

Yahoo! Groups Links




Reply via email to