{ 
Function:    _JMATrueRange 

Purpose:     ATR using Jurik Moving Average
	 
Author:      MarkSanDiego
 
Date:        05/06/07    original version
             09/06/08    TrueRange function converted to inline code
             01/04/09    inline code produces unexpected outputs during first Length*2 bars
                         Build in TrueRange function restored to code
}

Inputs: 
    Length(NumericSimple);      { Length must not change }


_JMATrueRange = JRC.JMA.2k(TrueRange, Length, 0);