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
| Setting | Default | What it does |
|---|---|---|
| Ma period | 2 | Period or timeframe used by the calculation |
| Ma shift | 0 | Bar shift (0 = current bar) |
| Ma method | 0 | |
| Atr period | 100 | Period or timeframe used by the calculation |
| Atr factor | 1 | |
| Atr shift | 0 | Bar shift (0 = current bar) |
| Atr use ma on array | false | |
| Atr ma on array period | 3 | Period or timeframe used by the calculation |
| Atr ma on array method | MODE_EMA | |
| Atr ma on array shift | 0 | Bar shift (0 = current bar) |
| Max bar | 1000 |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Moving Average · ATR · MT4 Indicator · MQL4 Source Code