What is VarMovAvg Indicator?

VarMovAvg is an MT5 chart indicator that displays a moving-average line with variable response settings. Fast and slow periods, adaptive speed, price source, colors, and alert options shape the line.
The changing slope and smoothness provide visual context for comparing recent price behavior with the average. Alerts are display aids and do not establish a future direction.
How to Use It in Practice

Var Mov Avg is an adaptive moving average whose response can be changed without changing its period. Two lines share the same period but differ in response speed, and the behavior is similar to an LWMA.
- Compare the line’s distance from the candles after changing its response settings while holding the period constant.
- Set periodAMA for the averaging period, then increase nfast to make the response to abrupt movement slower.
- Increase nslow for a slower line that can sit farther from price, and raise G in 0.1 steps for a looser response; dk has little visible effect.
The average can be viewed with different response settings, colors make changes easier to follow, and optional alerts support monitoring.
MT5 Indicator Parameters

The screenshot above shows the default input parameters in the MT5 settings window.
| Parameter | Description |
|---|---|
| periodAMA | Defines the main period used for the Adaptive Moving Average calculation. A longer period produces smoother results, while a shorter one makes the line more reactive. |
| nfast | Specifies the period for the fast adaptive component. This affects how quickly the moving average responds to rapid price changes. |
| nslow | Defines the period for the slow adaptive component, used to stabilize the line during quieter market conditions. |
| G | A smoothing factor that influences the calculation of the adaptive coefficient. Higher values make the average smoother. |
| dK | Controls the adaptability rate of the moving average. Smaller values create smoother lines, while larger values increase responsiveness. |
| UseSound | Enables or disables sound alerts when specific indicator conditions occur. |
| SoundFile | Specifies the audio file to be played for alerts, allowing traders to receive immediate notifications of changes. |



