Loading…

MA ATR

MA ATR — a MetaTrader 4 indicator kept in the Old Kings collection. Judging by its name, it is built around ATR volatility and moving averages. Its source code uses ATR. It has 11 settings, for example MA Period (default 2), MA Shift (default 0) and MA Method (default 0). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 1 indicator file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.

Indicator · MT4 · v1.0 · Free

About MA ATR

MA ATR is an indicator for MetaTrader 4 based on ATR. It has 11 settings, such as Ma period, Ma shift and Ma method. MQL source code included.

Files in the download: MA-ATR(2).mq4.

Settings

SettingDefaultWhat it does
Ma period2Period or timeframe used by the calculation
Ma shift0Bar shift (0 = current bar)
Ma method0
Atr period100Period or timeframe used by the calculation
Atr factor1
Atr shift0Bar shift (0 = current bar)
Atr use ma on arrayfalse
Atr ma on array period3Period or timeframe used by the calculation
Atr ma on array methodMODE_EMA
Atr ma on array shift0Bar shift (0 = current bar)
Max bar1000

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: Moving Average · ATR · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria