An order block (OB) is the last opposite candle before a strong move that breaks market structure. Smart Money Concepts (SMC) and ICT traders watch these candles because price often comes back to them before the move continues.
A swing high is a high above the highs of N candles on each side (N = swing strength, default 10); a swing low is the mirror.
What it shows
When is a block used up? (input)
How it works
Inputs
Buffers for Expert Advisors (iCustom, not drawn)
Example: double top[]; CopyBuffer(handle, 0, 1, 1, top); gives the top of the newest active bullish block on the last closed candle.
Good to know

XlsxWriter: Excel .xlsx files from MQL5 without DLL
An include file that writes real Excel workbooks (.xlsx) from MQL5 without DLLs: several sheets, numbers, text and real Excel dates, a frozen bold header and filters. Example script: the account deals and the daily results to Excel.
Failed Breakout Detector
Marks breakouts of the recent trading range and the breakouts that fail (price closes back inside within a few bars). Closed bars only, alerts, buffers for iCustom.
ICT Kill Zones - Asian, London, New York in New York time, with summer time
ICT kill zones (Asian, London, New York, London Close) at the right New York hours on any broker, with US and EU summer time. High / low boxes, levels until price takes them, midnight open. Alerts and buffers for EAs.
TesterStats: Strategy Tester report statistics in MQL5 code
Calculates the Strategy Tester report statistics from the deal history, including Z-Score, AHPR, GHPR, LR Correlation and LR Standard Error, which TesterStatistics() does not return. Checked value by value against the tester.