Entered high-low · MetaQuotes published-source state profile

Parabolic SAR Calculator

Calculate the published high-low SAR recurrence with its extreme point, acceleration cap, two-bar clipping and branch-switch state visible.

Runs in your browserCompleted-row source adaptationNo trend, stop or trade signal

Enter ordered high-low bars

Use completed bars from one symbol, timeframe and broker feed.

Entered

One completed bar per line. Commas, semicolons or tabs are accepted.

Parabolic SAR boundary: Above-price and below-price are internal arithmetic branches. A branch switch is not labelled as a market reversal, trend, stop placement or trade instruction.

Latest completed-row SAR state

Entered Trend Overlays 1.0.0.

Derived
No Parabolic SAR values calculated yetEnter at least three ordered high-low bars, or load the audited example.

How the MetaQuotes Parabolic SAR state is calculated

Next SAR = Current SAR + AF × (Extreme Point − Current SAR)
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

Reproduce it with “Load audited example”The 11-bar fixture uses step 0.02 and maximum 0.20. After two arithmetic branch switches, the final SAR is 12.286422, the extreme point is 7.500000 and acceleration is 0.04 in the above-price branch. The latest row did not switch.

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

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.

XM

Review available instruments, chart history and account terms.

Check XM terms

FBS

Compare symbol specifications and chart-feed conventions for your region.

Check FBS terms

FXOpen

Confirm chart history and trading conditions for the entered symbol.

Check FXOpen terms

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.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.