Exponential Range Average & Deviation Offset – indicator MetaTrader 5

Exponential Range Average & Deviation Offset - indicator for MetaTrader 5
This indicator calculates and plots the exponential moving average of the true range, as well as an offset of the exponential moving average of its deviation. 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”

Wilder’s Average True Range (ATR) – indicator MetaTrader 4

Wilder's Average True Range (ATR) - indicator for MetaTrader 4
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

Wilder’s Average True Range (ATR) – indicator MetaTrader 5

Wilder's Average True Range (ATR) - indicator for MetaTrader 5
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

Moving Average with alerts on price crossovers – indicator MetaTrader 5

Moving Average with alerts on price crossovers - indicator for MetaTrader 5
My goal was to make an indicator that triggers signals when the market price cuts the moving average. The moving average period length can be user defined (default is 200 length). The amount of points of price movement above and below the MA to be considered a signal; is also user defined in the inputs.

Moving average code for beginners by William210 – indicator MetaTrader 5

Moving average beginner tutorial - Terminal
Good morning. All codes, all functions have examples in the official documentation if you want. I wanted to rewrite simpler code, easier to reuse Whether starting out in coding, or need a basic code to evolve quickly, it should help you, as it helps me with my own codes Leave a comment to tell me which one

Hull Moving Average – indicator MetaTrader 5

Hull Moving Average - indicator for MetaTrader 5
I did not understand the source of other Hull MA implementations, so i decide to implement it myself. It has four input parameters: InpHmaPeriod = 20 InpColorKind = single_color InpColorIndex = color_index_3 InpMaxHistoryBars = 240 These parameters are self explanatory. The enumeration ENUM_COLOR_KIND switches between single and multi color, default is single color. In multi color,

AMA – Adaptive Moving Average – code for beginners by William210 – indicator MetaTrader 5

AMA Adaptative Moving Average beginner tutorial - Terminal
Good morning. All codes, all functions have examples in the official documentation if you want. I wanted to rewrite simpler code, easier to reuse Whether starting out in coding, or need a basic code to evolve quickly, it should help you, as it helps me with my own codes Leave a comment to tell me which one