# 问个问题

14

ATRCurrent=iATR(NULL,15,1,1);

12661

ATR is Average True Range. If period of iATR equals 1 that means True Range on one-bar range. If we want to see ATR on one-bar range on 0 (zero) index bar which is uncompleted bar it means we measure difference between High and Low. In first tick this difference equals 0. See https://www.metatrader5.com/zh/terminal/help/indicators/oscillators/atr
52

14

thanks

12661

john2007smith:

I don't speak Chinese. I translate Chinese posts with Babelfish
31

Dear: Rosh

Respect to you, you do all the hard work to help the new people like me, Thank you.

29

Rosh:
ATR is Average True Range. If period of iATR equals 1 that means True Range on one-bar range. If we want to see ATR on one-bar range on 0 (zero) index bar which is uncompleted bar it means we measure difference between High and Low. In first tick this difference equals 0. See https://www.metatrader5.com/zh/terminal/help/indicators/oscillators/atr

Rosh的意思是 ATR是平均真实波动.如果 iATR 的周期等于1的话,就意味真实波动在1柱(这个1柱不是first bar那柱)的波动.如果你想要让ATR在first bar( 比如buffer[0]这个),这就意味着我们在测量不同的最高和最低, 第一个参数NULL是空不是零.