ATR Trail

atr_trail

Function Name: atr_trail

Tags: ATR

Category: Volatility

The average true range (Atr) measures a security's volatility. Wilder defined the true range concept as the greatest value of the:

Current high less the current low

Absolute value of the current high less the previous close

Absolute value of the current low less the previous close.

Wilder then calculated an average of this value for creating the average true range

 

Author:   J. Welles Wilder

Publication: "New Concepts In Technical Trading Systems"

Link:       http://www.investopedia.com/terms/a/atr.asp

 

Parameters

TrailTypeMod

 

Default Value: -1

 

Type: Boolean

Period

 

Default Value: 21  |  Minimum: 2  |  Maximum: 9999

 

Type: Numeric

Factor

 

Default Value: 1.5  |  Minimum: 0  |  Maximum: 100

 

Type: Numeric

InitialMonth

 

Default Value: 1  |  Minimum: 1  |  Maximum: 12

 

Type: Numeric

InitialDay

 

Default Value: 1  |  Minimum: 1  |  Maximum: 30

 

Type: Numeric

InitialYear

 

Default Value: 2009  |  Minimum: 1900  |  Maximum: 2050

 

Type: Numeric

FirstTrade

 

Default Value: 1  |  Minimum: 0  |  Maximum: 1

 

Type: Numeric

ShowTraderMarks

 

Default Value: -1

 

Type: Boolean

ShowLine

 

Default Value: -1

 

Type: Boolean