First, you cannot change a TimeFrame to a smaller value than you started with. Well, you can, but you will get the same values until the next bar begins. In your case, you created a Daily ATR, all your 15 minutes ATR values will be the same until the last bar of the day.

 

To view in other TimeFrames use Xx_min = TimeFrameExpand(Xx,inMinute); or whatever time frame you want. See Help for more info.

 

--

Terry


From: [email protected] [mailto:[email protected]] On Behalf Of Clement Chin
Sent: Saturday, June 17, 2006 4:01 PM
To: [email protected]
Subject: [amibroker] How to refer to a daily ATR(10)?

 

How to create a variable ATR(10) under daily chart and refer it under other time frames?

 

I use the following codes:

 

TimeFrameSet(inDaily);

                        Xx=atr(10);

TimeFrameRestore();

            \\          Display the xx value…

 

I use it under 15m time frame. It seems that the value is changing with every bar I move.

 

Please show me the right way.

 

Clement

 

 

 

 

__._,_.___

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 other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to