The Average Daily Range (ADR) tells you how far price usually travels in one day. Day traders use it in three ways: to see if today has already done its usual distance (a move that has used 100 percent of the ADR is often late to chase), to place a realistic take profit, and to judge if a stop is wide or tight for this market. This indicator shows all of it on the chart and in a small panel.
Files
What is shown
The ADR is an average, not a limit. Trend days often go to 150 percent or more, so use it as a guide, not as a wall.
How it is calculated
No repaint
The lines from today's extremes move during the day, because today's high and low move. This is shown honestly as a step line: every closed bar keeps the value that it had when it closed, and that value never changes later. A value is calculated only from the bars up to that bar.
For Expert Advisors
Buffers 2 to 6 hold the exact values: 2 ADR high, 3 ADR low, 4 ADR, 5 range used in percent, 6 today's range. Buffers 0 and 1 are the drawn lines (empty on the first bar of each day, so the lines have no vertical steps).
When you call the indicator with iCustom, each "input group" counts as one parameter: pass a string for it, for example iCustom(_Symbol, _Period, "ADRLevels", "ADR", 14, 0, "Day", 2, 0, 2.0, ...).
Inputs: days in the average, projection (from the extremes or from the open), day start, broker clock, days of history to draw, panel (corner, font size, colour), alerts at 100 and 80 percent, push notifications.
How it was tested
Broker Time Panel - server clock, local zone, measured offset, candle close countdown
The panel prints the broker's server clock, your local clock with its GMT zone, the offset between the two to the minute, and the countdown to the close of the chart's current candle. The offset is measured from the terminal's own clocks on every pass, so nothing is typed in and no broker zone is assumed. If you set a lead in seconds and enable a channel, it sends one alert per candle while a bid is available, with the seconds left and the bid; its eight objects stay out of the object list and cannot be selected.
TradeDiagnostics - include file that explains why an EA cannot open a trade
One function call checks the terminal, account, program permission, symbol, trading session, quotes, spread, volume and margin, and tells you in plain words why a new trade cannot be opened. No order is ever sent.
Candlestick Pattern Scanner with honest statistics (engulfing, pin bar, stars, no repaint)
Seven candlestick patterns with exact rules, trend / swing / size filters against clutter, and a statistics table that compares every pattern with the base rate of the same chart. Closed candles only, no repaint, buffers for EAs.
Broker Symbol Compatibility Scanner
Scans the broker's complete MT5 symbol catalogue, resolves common prefixes, suffixes and aliases, checks trading specifications and exports a compatibility report to CSV.