This indicator was originally developed by Charles Beau and popularized by Dr . Alexander Elder in his book "Come Into My Trading Room: A Complete Guide to Trading" (2002).
In short, this is a trailing stop-loss based on the (ATR).
long = highest(close,length) - atr
short = lowest(close,length) + atr