Fractals Indicator Calculator
Find confirmed five-bar local high and low markers from entered completed bars, while keeping the last two bars explicitly pending.
Enter ordered high-low bars
Use completed bars from one symbol, timeframe and broker feed.
One completed bar per line. Commas, semicolons or tabs are accepted.
Latest eligible five-bar center
Entered Bill Williams Structure Indicators 1.0.0.
| Label | Index | High | Low | Confirmation | Marker |
|---|
How confirmed five-bar fractals are identified
Down at i when Low[i] is strictly less than Low[i−2], Low[i−1], Low[i+1] and Low[i+2]
Version 1.0.0 applies the standard five-successive-bar definition. Equal neighboring highs or lows do not pass the strict lower-high or higher-low requirement.
A center requires two completed bars after it, so the newest two entered rows remain pending. A wide center bar can independently satisfy both strict high and strict low conditions; the page reports both instead of forcing one label.
Assumptions and limits
- At least five ordered high-low bars are required.
- Rows must be oldest to newest and use one symbol, timeframe and feed.
- The newest two entered bars cannot be confirmed because two later bars do not exist.
- Tied highs or lows fail the strict five-bar test.
- Markers are descriptive local extrema only; reversal, breakout, support, resistance and trade labels are withheld.
Worked example from the audited fixture
How to interpret the result
The final two bars remain unclassified because a five-bar center needs two later completed bars. A confirmed local extreme is only a strict geometric comparison inside this entered sample, not a reversal, support, resistance or entry signal.
Frequently asked questions
- Enter at least five ordered high-low bars from one symbol, timeframe and broker feed.
- The center high must be strictly greater than the highs of the two bars before and the two bars after it.
- The center low must be strictly lower than the lows of the two bars before and the two bars after it.
- A center cannot be confirmed until two later completed bars exist.
- The strict lower-high or higher-low condition fails, so no corresponding marker is reported.
- Yes. A sufficiently wide center bar can independently have the highest high and lowest low in its five-bar window.
- Only when the same completed bars, symbol, timeframe and feed are used.
- No. The page reports a local extremum without reversal, support, resistance, breakout, entry or exit classification.
Sources and methodology
- MetaTrader 5 Help — Fractals — Official five-bar middle-high and middle-low definition.
- MQL5 Reference — iFractals — Official upper and lower indicator-buffer contract.
- MQL5 Reference — Indicator Lines — Official Fractals upper-line and lower-line identifiers.
Continue entered indicator analysis
Compare the chart feed and trading terms
Use one broker feed, symbol and timeframe for every entered observation, and compare the source history with your terminal before relying on a platform match.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

