The calculation of this ATR is based on the low of yesterday in order to not change continuously during the day. You can use this indicator to create a trailing stop taking into account volatility on the nATRPeriod previous days. It also always go up as a trailing stop should. It only goes down the price reaches the trailing stop.