Join our fan page
Wilder's Average True Range (ATR) - indicator for MetaTrader 5
- Views:
- 4730
- Rating:
- Published:
- 2023.01.22 13:25
- Updated:
- 2023.01.22 18:14
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This indicator implements the original “Average True Range (ATR)” developed by John Welles Wilder Jr., as described in his book—New Concepts in Technical Trading Systems [1978].
It uses Wilder’s moving average, also known as the smoothed moving average (SMMA), instead of a simple moving average (SMA) as used on MetaTrader’s built-in ATR indicator. The default period applied is 7, instead of 14, as per the description in his book.
The code uses conditional compilation and will compile on both MQL4 and MQL5. Please note that all my CodeBase publications’ source code are now also available in “Public Projects” tab of MetaEditor under the name “FMIC”.
Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
Price Line 3Shows moving Last Price on Bid Line, LAst 24 hours percentage change, switch chart from arrow keys and more..
An implementation of the Relative Strength Index indicator by John Welles Wilder Jr. as described in his book—New Concepts in Technical Trading Systems [1978].
MultiCurrency Template MT5a Template for Multicurrency system for Metatrader 5