Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6149
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Wilder ATR is an average true range by J. Welles Wilder
It has two adjustable parameters:
- Period - calculation period
- Method - the method of smoothing
Calculations:
Wilder ATR = MA(TR, Period, Method)
where:
TR (True Range) = Maximum(HL, HC, LC)
HL = High-Low
HC = Abs(High-PrevClose)
LC = Abs(Low-PrevClose)

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23016