Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | APTR

Average Percentage True Range indicator was described in Stock&Commodities (November 2015).

It has one configurable parameter:

  • Period - calculation period

Calculation:

APTR = 100.0 * SMA(PTR, Period)

where:

PTR = Max(s1,s2,s3)
s1 = 2.0 * (High-Low) / (High+Low)
s2 = 2.0 * (High-PrevClose) / (High+PrevClose)
s3 = 2.0 * (Low-PrevClose) / (3.0*Low-Prevlose)

MetaTrader Experts, Indicators, Scripts and Libraries

22494