TRADINGVIEW · TREND STATE AND TRAILING REFERENCES
Parabolic SAR is a price-and-time indicator that plots a trailing reference on one side of the market, then switches sides when price penetrates its reversal level. SAR means Stop and Reverse. TradingView’s standard inputs are Start 0.02, Increment 0.02, and Max value 0.2. Its calculation uses an extreme price and an acceleration factor. A displayed dot describes the indicator’s state; your entry, stop order, and confirmed exit still need their own execution rules.
What the dots measure
J. Welles Wilder introduced the Parabolic Time/Price System in his 1978 book New Concepts in Technical Trading Systems. The indicator follows an upward or downward state. In an upward state, its reference trails beneath price. In a downward state, the reference trails above price. A reversal changes the state and starts a new trailing sequence on the opposite side.
That two-state design explains why the dots remain visible during a sideways market. SAR continues calculating even when price has no useful directional progress. Several alternating flips inside a narrow range can therefore be perfectly valid calculations and poor trading opportunities at the same time.
Each update starts with the previous SAR, the previous extreme point, and the previous acceleration factor. The extreme point, abbreviated EP, records the highest high of the current upward state or the lowest low of the current downward state. The acceleration factor, AF, controls how far the next candidate moves toward that extreme.
Candidate SAR = Previous SAR + Previous AF × (Previous EP − Previous SAR)
The same signed equation works in both directions. If EP is above SAR, the difference is positive and the candidate rises. If EP is below SAR, the difference is negative and the candidate falls. AF is a proportion, rather than a number of points or an ATR multiple. With SAR at 90, EP at 100, and AF at 0.02, the next candidate is 90.2.
Keep the word candidate in that calculation. TradingView’s documented sequence checks the current bar for a strict penetration and applies the previous-two-bar boundary rule. A reversal can replace the candidate with a value on the other side of price. The final dot therefore needs more than one arithmetic line.
| Input | Baseline | What it controls | When it matters |
|---|---|---|---|
| Start | 0.02 | Starting AF for a new state | At initialization or a reversal |
| Increment | 0.02 | AF increase when a new EP is established | A new higher high in an upward state or lower low in a downward state |
| Max value | 0.2 | Upper limit for increasing AF | Once successive extreme updates approach the cap |
A higher Increment allows AF to build faster as new extremes appear. It does not increase merely because another bar has passed. Equal highs in an upward state, or equal lows in a downward state, do not establish a strictly new extreme. The trailing candidate can nevertheless continue moving while AF stays unchanged.
For example, keep EP at 100 and AF at 0.02. Starting from SAR 90, the candidates are 90.2 and then 90.396 before any boundary adjustment. The gap to EP shrinks even though price has made no new high. Time contributes through repeated updates; increasing acceleration requires a new extreme.
A six-bar calculation, including two reversals
Use a hypothetical warm state to follow the updates without hiding the starting values. Before bar 1, the algorithm is upward with SAR 90, EP 100, and AF 0.02. The two preceding bars have high/low/close values of 100/95/99 and 99/94/98, in that order. Start and Increment are 0.02, and Max value is 0.2.
This sample begins after a state already exists. It illustrates the update sequence rather than claiming these values initialize every chart. Its reversal bars also avoid simultaneously extending both sides beyond the old state’s extremes, keeping the reset arithmetic easy to inspect.
| Bar | High / Low / Close | Candidate | Final SAR | State after update | EP / AF after update |
|---|---|---|---|---|---|
| 1 | 102 / 96 / 101 | 90.2 | 90.2 | Up | 102 / 0.04 |
| 2 | 103 / 97 / 102 | 90.672 | 90.672 | Up | 103 / 0.06 |
| 3 | 102 / 90 / 101 | 91.41168 | 103 | Down: reversal | 90 / 0.02 |
| 4 | 101 / 88 / 89 | 102.74 | 103 | Down | 88 / 0.04 |
| 5 | 99 / 87 / 88 | 102.4 | 102.4 | Down | 87 / 0.06 |
| 6 | 104 / 90 / 103 | 101.476 | 87 | Up: reversal | 104 / 0.02 |
Bar 1 starts with 90 + 0.02 × (100 − 90) = 90.2. Its low of 96 stays above that candidate. The previous two lows, 95 and 94, also leave 90.2 unchanged. The high of 102 establishes a new EP, and AF increases to 0.04 for the following update.
Bar 2 uses those updated values: 90.2 + 0.04 × (102 − 90.2) = 90.672. The low of 97 stays above the candidate. Its new high of 103 raises EP and moves AF to 0.06. Using the new AF inside the same bar’s candidate would change the calculation order.
Bar 3 begins with 90.672 + 0.06 × (103 − 90.672) = 91.41168. Its low of 90 penetrates that level, so the algorithm reverses downward. In this declared example, the new SAR resets to the old upward EP of 103. The new downward EP becomes 90, and AF resets to 0.02.
Bar 4 shows why the simple equation is incomplete. Its candidate is 103 + 0.02 × (90 − 103) = 102.74. The current high of 101 does not penetrate it. However, the two preceding highs are 103 and 102. A downward SAR must respect the higher of those previous highs, so the final value remains 103. The low of 88 then updates EP and AF.
Bar 5 produces 103 + 0.04 × (88 − 103) = 102.4. The previous highs of 102 and 101 leave that candidate unchanged. The new low of 87 increases AF to 0.06. Bar 6 then starts with 102.4 + 0.06 × (87 − 102.4) = 101.476. Its high of 104 penetrates upward, reversing the state. The new-side SAR is 87, with EP 104 and AF reset to 0.02.
A wick can cause a flip even when the close recovers
Look again at bar 3. Its low is 90, its close is 101, and the upward candidate is 91.41168. The bar closes comfortably above the candidate, yet its low has already penetrated it. TradingView’s documented reversal check uses the current bar’s price extremes. A rule that requires the close to cross the old level describes a different signal.
Checking a flip after the bar closes means waiting for the bar’s final high and low before accepting that state change. It does not change the historical penetration test into a close-only comparison. A completed candle still contains its full wick.
The strict comparison also matters at the boundary. Under the documented inequalities, an upward candidate of 90.2 and a low exactly at 90.2 do not satisfy candidate greater than low. A low below 90.2 does. Keep that calculation convention separate from the trigger rules of an actual order, which depend on the order type and execution venue.
The final dot on a reversal bar sits on the new side. In bar 3, it is 103. The old upward candidate that was penetrated is 91.41168. Reading the finished chart and assigning a hypothetical long exit at 103 would use the wrong level. A plotted state transition, a stop trigger, and an obtainable fill are separate records.
A bar that crosses several levels also gives you its high and low without necessarily revealing the exact sequence between them. For intrabar execution questions, inspect the available lower-timeframe or trade data and the platform’s simulation assumptions. A single OHLC candle cannot establish every intermediate order event.
Set up Parabolic SAR in TradingView
Open the intended symbol and exchange, choose ordinary candles, and set the session and chart interval. Select Indicators, metrics, and strategies, search for Parabolic SAR, and choose the built-in indicator. Community scripts may change the calculation, add filters, or plot their own arrows under a similar name.
Open the gear beside the indicator name. In Inputs, enter Start 0.02, Increment 0.02, and Max value 0.2 for the baseline used here. These are three named fields; entering an ATR length or a price-distance value would answer a different question.

Set Timeframe to Chart when reproducing a chart-timeframe example. Selecting one hour on a five-minute chart changes the data used by the indicator. Its bars and extremes now come from the one-hour calculation, rather than from each five-minute candle.
Use Wait for timeframe closes when your method requires the selected calculation timeframe’s completed values. A five-minute candle can close while the one-hour calculation bar remains open. Record which timeframe supplies the decision and when its confirmed result becomes available.
In Style, identify the ParabolicSAR plot by name. Adjust color, thickness, and the visual style so the marks are readable. A cross and a dot can display the same calculated value. Appearance changes alone do not turn the indicator into another formula.
The TradingView indicators guide covers finding tools and recording inputs. If two SAR displays disagree, compare the feed, candle type, session, timeframe, three acceleration inputs, and available starting history. TradingView documents its own second-bar initialization assumption; a matching label on another platform does not prove every startup value agrees.
What changes when you adjust the acceleration settings?
Start affects the acceleration available at the beginning of a state. Increment controls how quickly acceleration grows when new extremes arrive. Max value limits that growth. Their effects therefore depend on what the market has already done, rather than on the parameter label alone.
For a simple counterexample, change Max value from 0.2 to 0.1 while keeping Start and Increment at 0.02. The first update in the worked sample still ends with AF 0.04, below either cap. Its candidate and final SAR are identical. Lowering a cap cannot affect that particular calculation before the cap becomes relevant.
A faster setting can bring a candidate closer to the extreme, leaving less room for a pullback. That changes opportunities to flip, but the complete path includes resets and boundary restrictions. Compare full sequences under fixed rules instead of assuming one numerical change produces a fixed reduction in losses or a universally earlier exit.
For a one-minute, five-minute, or fifteen-minute method, record a baseline first. Change one field at a time and keep instrument, session, entry, exit, sizing, and costs fixed. Include sideways periods and losing sequences alongside clean trends. A chart selected because its dots follow the move neatly cannot establish the best setting for the next session.
Turn a trailing reference into an executable exit rule
Suppose you already hold a long position. One method updates a resting protective order using a defined SAR reference after each completed calculation bar. Another waits for a confirmed algorithm flip, then submits an exit. The first can act during the next bar; the second waits for confirmation. They can produce different exit times and prices on the same chart.
Write down which reference you use: the latest completed dot, a calculated next candidate, or another level defined by your strategy. State when it becomes known and when an order is submitted or replaced. A backtest that uses one reference should not be compared with live execution that silently uses another.
Check the permitted price increment before submitting the order. If your calculated reference falls between valid ticks, define the rounding direction and use the rounded distance in the risk calculation. Include any deliberate buffer as well. More decimal places on the indicator do not create an executable price increment.
Gaps and fast movement can separate a trigger level from a fill. An exit based on bar-close confirmation also leaves the position exposed while that bar develops. Record the actual order type, trigger convention, replacement timing, and fill assumptions. The trailing stop guide explains the execution choices in more detail.
SAR does not set the amount of money available to risk. Measure the chosen entry-to-exit-reference distance, multiply by the instrument’s money value per unit and quantity, and include transaction and execution allowances. The position sizing calculator guide explains those units and quantity limits.
A reversal can place the new-side dot far from a proposed entry. If that distance exceeds the trade budget, reduce quantity or skip the setup. Using a different acceleration setting does not increase the budget. For a prop firm plan, the position must also fit its current drawdown, size limits, and permitted trading conditions.
SAR, Supertrend and ADX answer different questions
The Supertrend indicator guide describes ATR-based bands with retained values and a directional state. SAR uses an extreme point and an acceleration factor. They can both change sides around price while following different arithmetic.
That distinction matters when volatility expands. A newly calculated ATR band can change distance, while Supertrend’s final band may retain an earlier value under its rules. SAR has no ATR-length input. Compare the actual final references rather than explaining either line from its simplest candidate formula alone.
The ADX and DMI guide separates directional movement from its strength calculation. Adding an ADX threshold to SAR creates an additional rule, with its own late entries and missed signals. Agreement between two price-derived indicators does not establish independent evidence or a guaranteed improvement.
A moving-average filter can likewise restrict which flips your method trades. Define the average, length, timeframe, and comparison before testing. A continuing SAR state is different from a fresh flip; a continuing filter condition is different from a new entry event. Count each according to the rule you actually intend to execute.
Evaluate the complete method, including the trades it skips
Keep a development sample separate from an untouched evaluation sample. Record every eligible signal, entry time, exit mechanism, quantity, commissions, and execution allowance. Include the signals that fail quickly and the periods when filters prevent a trade. Those missing trades can explain as much as the successful trend in a screenshot.
Win rate alone cannot describe the result. A method with frequent small gains can still lose money through occasional large losses and costs. Report average gains and losses alongside the number of trades, drawdown, and the exact rules that produced them. Results from another instrument or another execution model remain results of that particular test.
Use executable market prices when evaluating orders. If a synthetic candle chart supplies signals, distinguish its calculated candle values from prices available for fills. Changing both chart construction and trading rules at once makes it hard to identify why an apparent improvement occurred.
For live observations, save the timestamp and whether the calculation bar was still developing. Highs, lows, and a developing higher-timeframe bar can change the latest displayed result. Compare confirmed historical values under the same data and setup, then investigate any discrepancy with the actual decision and order records.

Compare HDP discounts
Lucid 30% · Tradeify 30% · TPT 50%.
See current offers ↗Eligible partner plans only.
Parabolic SAR FAQ
What is Parabolic SAR?
It is a price-and-time indicator that follows an upward or downward state and plots a trailing reference. SAR means Stop and Reverse. A price penetration can change its state; a trading method still needs defined entries and exits.
What is the formula for Parabolic SAR?
The candidate is previous SAR plus previous AF multiplied by previous EP minus previous SAR. Reversal checks and the previous-two-bar boundary rule determine the final plotted value. The simple equation alone does not describe every dot.
What do 0.02, 0.02 and 0.2 mean?
In the TradingView baseline, they are Start, Increment, and Max value. Start sets the initial acceleration factor, Increment increases it when a new extreme appears, and Max value limits that increase.
Does AF increase on every bar?
No. It increases when the current state establishes a new extreme. The SAR candidate can still move toward an unchanged extreme while AF stays the same, because each update starts from the previous SAR.
Can a wick flip SAR if the close recovers?
Yes. TradingView’s documented penetration check uses the current bar’s high or low. In the worked example, low 90 crosses candidate 91.41168 even though the bar closes at 101, so the state reverses downward.
Does touching the candidate exactly cause a reversal?
The documented TradingView comparison uses strict inequalities. An upward candidate equal to the bar’s low does not satisfy candidate greater than low. An actual order’s trigger convention is a separate execution rule.
Why is the dot on the opposite side after a flip?
A reversal starts a new trailing state and resets its reference. In the sample, the penetrated upward candidate is 91.41168 and the new downward dot is 103. The new dot is not a historical fill at the old trigger.
What are the best SAR settings for a five-minute chart?
There is no universal best set. Record the named baseline inputs and compare alternatives with the same instrument, session, entries, exits, sizing, and costs. Keep a separate evaluation sample and include choppy periods.
Does reducing Max value change SAR immediately?
It can leave early updates unchanged when AF remains below both caps. In the sample, caps of 0.1 and 0.2 produce the same first update because AF only reaches 0.04.
Can SAR act as a trailing stop?
It can supply a reference for a defined exit method. Specify the known reference, update timing, order type, tick rounding, and fill assumptions. A resting intrabar stop and an exit after a confirmed flip can produce different results.
Does a confirmed flip mean the close crossed the old dot?
No. Confirmation means evaluating the selected bar after it finishes. Its final high and low still participate in the documented reversal check. A close-only crossing condition is a different signal definition.
How is SAR different from Supertrend?
SAR follows extreme points with an acceleration factor. Supertrend uses ATR-based bands and a directional state with retained values. Similar-looking side changes do not make their calculations or stop distances interchangeable.
Does Parabolic SAR have a fixed success rate?
No universal rate applies. Results depend on the complete rules, instrument, sample, chart type, costs, sizing, and execution. A selected trend or another method’s test cannot establish your expected performance.
Why can two platforms show different SAR values?
Compare the data feed, sessions, candle type, calculation timeframe, acceleration inputs, and starting history. Initialization and implementation conventions can differ. Matching a three-number label alone does not verify identical calculations.
