Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

ATR Monitor — Daily, Weekly and Monthly Range - indicator for MetaTrader 5

Nima Foroozanfar
Nima Foroozanfar
Keeyoo — Programmers for Traders
Keeyoo is a team of experienced software developers with over 18 years of trading experience.
| English Русский 中文 Español Deutsch 日本語 Português 한국어 Français Italiano Türkçe
Views:
1184
Rating:
(8)
Published:
Updated:
AtrMonitor.mq5 (11.81 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

ATR Monitor compares the current daily, weekly and monthly price ranges with Average True Range (ATR). It shows how large each period's range is relative to its ATR and whether the current price is above or below the period's opening price.

The panel displays three rows: Day, Week and Month. All three timeframes are available on the current chart, regardless of its timeframe.

Reading the table

Column Meaning
Period Daily, weekly or monthly candle.
ATR Built-in ATR for that timeframe, expressed in pips.
Range Current period's high minus low, expressed in pips.
ATR % Current range divided by ATR, multiplied by 100.
From open Current price minus the period's opening price, expressed in pips.

For example, a daily range of 66 pips against a daily ATR of 60 pips gives an ATR % reading of 110%. A weekly range of 144 pips against an ATR of 240 pips gives 60%, and a monthly range of 160 pips against an ATR of 400 pips gives 40%.

ATR % uses the full high–low range. From open is a separate direction measurement: positive values are green and negative values are red. A value rounded to zero is neutral.

Readings at or above MaxATRPercent are highlighted in amber. The default threshold is 100%. Changing this setting affects highlighting only; the displayed percentage is never capped.

Inputs

Input Default Purpose
ATRPeriod 14 ATR lookback applied independently to daily, weekly and monthly data.
MaxATRPercent 100.0 Percentage at which amber highlighting starts.
PanelX 7 Horizontal position from the chart's upper-left corner, in pixels.
PanelY 30 Vertical position from the chart's upper-left corner, in pixels.
PanelXSize 400 Expanded panel width before scaling.
PanelYSize 146 Expanded panel height before scaling.
PanelScale 1.0 Panel and font scale, from 0.5 to 3.0. Position offsets are unchanged.
Colors Dark theme Background, border, text, direction and threshold colors.

Click minus to minimize the panel and plus to restore it. Hover the title or column headings for explanations of the values and their units.

Calculation and updates

Prices and ATR use the current forming candle, shift 0, on each timeframe. The indicator attempts to load values when attached and refreshes on incoming ticks. ATR therefore changes as the current candle develops; it is not a fixed reference from the previous completed candle.

Period boundaries follow the broker's candles. Range measures high minus low, while ATR uses true range and includes gaps relative to the previous close. A range above 100% ATR does not by itself imply that price will reverse.

Pip conversion uses ten points per pip for three- and five-digit quotes and one point otherwise. Values display one decimal place. Other instruments may use different pip conventions.

Unavailable data is shown as -- and retried on later ticks. A zero ATR shows N/A for ATR %. Without incoming ticks, there is no automatic retry after history finishes loading. Restoring the panel also refreshes available values. Values are not refreshed while the panel is minimized.

Installation

Place AtrMonitor.mq5 in the terminal data folder under MQL5/Indicators, compile it in MetaEditor, refresh Navigator, and attach the indicator to a chart. No external libraries or DLLs are required.


Gold Example
Monday Dip EA- Index Mean Reversion D1 Monday Dip EA- Index Mean Reversion D1

Monday Dip EA is a quantitative, time-based long-only trading strategy designed primarily for major stock index CFDs (such as US500, UK100) with complete daily history. It operates purely as a time-restricted buy-on-dip system rather than a trend-following indicator.

Marginal Drawdown Contribution Analyzer Marginal Drawdown Contribution Analyzer

A script for accounts that run several Expert Advisors or configurations. It aggregates the net result of each configuration (magic number, or magic number and symbol) per calendar day and measures how much each one contributes to the portfolio drawdown: drawdown added by leave-one-out, share of the worst drawdown, and Euler variance share. It prints verdicts, recommendations, and a heuristic A+ to F score. It runs out of the box on a built-in demonstration portfolio and is written in pure MQL5.

Point and Figure Point and Figure

Point & Figure draws a classic P&F chart (X columns for rising prices, O columns for falling prices) in a separate indicator window, on any symbol and timeframe. It also adds a trading panel and support/resistance lines on the main chart.

Momentum Vwap Barrier Breakout / BhanuCodeLab Momentum Vwap Barrier Breakout / BhanuCodeLab

Momentum VWAP Barrier Breakout is an MT5 indicator that identifies tested support and resistance zones and displays confirmed breakout arrows after the candle closes. It includes optional VWAP, SMA, SMMA, and no-filter modes, with VWAP selected by default. Designed primarily for XAUUSD M5, it can also be tested on M15 and M30 for fewer but potentially cleaner signals. Traders may consider entering at the next candle’s open, placing the stop beyond the breakout candle or broken zone, and targeting approximately 1.5R to 2R. Use the indicator together with market structure, higher-timeframe direction, news awareness, and proper risk management. Test it thoroughly on historical data and a demo account before using it with real money.