Parabolic SAR Calculator
Calculate the published high-low SAR recurrence with its extreme point, acceleration cap, two-bar clipping and branch-switch state visible.
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 completed-row SAR state
Entered Trend Overlays 1.0.0.
| Label | Index | High | Low | SAR | AF | Extreme | Branch | Switched |
|---|
How the MetaQuotes Parabolic SAR state is calculated
Below-price branch: clip next SAR to the lower of the current and prior lows
Above-price branch: clip next SAR to the higher of the current and prior highs
Version 1.0.0 follows the initialization, strict branch inequalities, extreme-point resets, acceleration increments and two-bar clipping in MetaQuotes published ParabolicSAR.mq5.
The terminal source normally leaves its newest platform row forming. This web route accepts completed rows only, so it evaluates the final entered row under the same state rules.
Assumptions and limits
- At least three ordered high-low bars are required.
- Step and maximum must be positive, no greater than 1, and maximum must be at least step.
- Rows must be oldest to newest and use one symbol, timeframe and feed.
- Feed history, starting row and completed-bar timing can change comparison with a terminal.
- Branch side, switches and the SAR value are arithmetic state only; trend, reversal, stops, entries and exits are withheld.
Worked example from the audited fixture
How to interpret the result
Above-price branch is an internal state used by the recurrence and clipping rules. It is not a bearish trend label, stop placement or trade instruction. The result depends on initialization, prior switches and every entered high-low row.
Frequently asked questions
- Enter a positive step, a maximum at least as large as the step, and at least three ordered high-low bars.
- Current SAR plus the acceleration factor multiplied by the distance from SAR to the current extreme point.
- A new same-branch extreme adds the entered step, capped at the entered maximum; a branch switch resets it to the step.
- It is the highest high tracked by the below-price branch or the lowest low tracked by the above-price branch.
- The published MetaQuotes source constrains the below-price branch by the current and prior lows and the above-price branch by the current and prior highs.
- Unlike a terminal source loop that reserves a forming row, this page accepts completed rows only and evaluates the final entered row.
- Not necessarily. Feed history, starting row, parameter precision and completed-versus-forming bar timing can change the buffer.
- No. It is an algorithm-state transition without trend, reversal, stop, entry or exit classification.
Sources and methodology
- MetaTrader 5 Help — Parabolic SAR — Official recurrence and price-side description.
- MQL5 Reference — iSAR — Official step, maximum and single-buffer interface.
- MetaQuotes CodeBase — Parabolic SAR — Published initialization, branch, extreme-point, acceleration and clipping source profile.
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.

