[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] How to refer to a daily ATR(10)?



PureBytes Links

Trading Reference Links

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