What it does

How touches and sweeps are counted (closed bars only)
Alerts
Buffers (iCustom)
| Buffer | Content |
|---|---|
| 0-5 | PDH, PDL, PWH, PWL, PMH, PML (price) |
| 6-11 | touch count of the same level |
Read shift 0. The value is calculated at the open of the bar from closed bars only and is not changed afterwards. Older bars keep the values written while they were the current bar, so history from before the indicator was attached is empty ( EMPTY_VALUE ). Plots are DRAW_NONE ; values are visible in the Data Window.
int h = iCustom(_Symbol, PERIOD_M15, "KeyLevelsTouch");
double pdh[1], t[1];
if(CopyBuffer(h, 0, 0, 1, pdh) == 1 && CopyBuffer(h, 6, 0, 1, t) == 1)
Print("PDH ", pdh[0], " touches ", t[0]); Notes
Testing
Checked in the Strategy Tester (EURUSD M15, August-October 2026, broker data). On every bar the six previous day / week / month levels and their touch counts, read live at the open of the bar, were compared with an independent rebuild from the raw rates: all 37,416 level values and all 37,416 touch counts matched. Sweep counts and round-number levels are drawn with the same rule but are not exposed in buffers, so they were checked only visually.
ORB Box + VWAP Stats - opening range box, 1R/2R targets, session VWAP and historical break statistics
Draws the opening range of a configurable session (start time and length in minutes, with a server time zone adjustment), the 1R and 2R levels above and below the box, and the session VWAP (tick volume, or real volume when the broker provides it). A small panel counts, over the last N finished sessions, how many broke the range up only, down only, on both sides, or not at all, and how often price reached 1R and 2R after the first break. The statistics are historical counts: they describe the past and do not predict anything. Only closed bars are used, so nothing repaints; optional popup, push and sound alerts fire once per direction per session when a closed bar closes outside the box. Eight buffers (range, targets, VWAP, break state) can be read from an Expert Advisor with iCustom(). Works on M1 to M30, recalculates only new bars and deletes its chart objects when removed. Read-only: it never trades. No DLLs, no web requests.
Session High Low Alerts - Asia, London and New York session highs and lows with non-repainting break alerts
Draws the high and low of the Asia, London and New York sessions as boxes or lines extended to the end of the day, with configurable session hours and a server time zone adjustment. Optional previous day and previous week high/low. When a CLOSED bar breaks the high or low of a session that has already finished, it can raise a popup alert, a push notification and/or a sound, once per level per day. Alerts are evaluated on closed bars only, so they do not repaint. The 10 levels are exposed in indicator buffers, so an Expert Advisor can read them with iCustom(). It recalculates only new bars, works on any timeframe up to H1, and deletes all its chart objects when removed. Read-only: it never opens, modifies or closes a trade. No DLLs, no web requests.
EA Auditor. What an Expert Advisor really does, from its deal history
Script that reads the deal history of your account and writes a plain note on how an Expert Advisor really trades: entries, stops and trailing, lot changes, martingale, averaging, trades at once, hours and holding time, plus what to watch out for. It never trades and says nothing about profit
Trailing Stop Breakeven Manager
Trailing stop and breakeven manager for Gold (XAUUSD), forex and any symbol: moves the stop to breakeven with an offset, then trails it in points or ATR multiples on manual trades and on any EA, filtered by magic and symbol. Open source code.