A pivot point is the average of the previous trading session's high, low and close. If Nifty records a high of 25,200, a low of 24,900 and a close of 25,140, its pivot for the next session is 25,080.
Traders use this level, along with the support and resistance levels around it, to see where a move might stall or break through. Levels above the pivot are resistance (R1, R2, R3), and levels below it are support (S1, S2, S3).
Found your levels? Check how a pivot breakout would have played out on past Nifty sessions before you trade it. Create your free AlgoTest account
Calculate Your Pivot Levels

Starting values are a fictional Nifty 50 example. For today's daily levels, enter the high, low and close from the last completed trading day. For weekly levels, use the last completed week.
Related: 5 Best Indicators for Intraday Trading
What Is a Pivot Point?
Resistance is a price where a rise may stall, because sellers have shown up there before. Support is a price where a fall may pause, because buyers have stepped in there before.
A pivot point finds these levels with a formula instead of drawing them by hand. Unlike a moving average, the levels don't change during the day. They are calculated once from the last completed session and stay flat until the next one starts.
That fixed nature makes pivots easy to plan around and easy to test. On AlgoTest, Pivot Points and CPR are built-in indicators, so the levels you calculate here can go straight into a rule-based strategy.
Related: SuperTrend Indicator: Formula, Settings & How to Backtest
How to Calculate Today's Nifty Pivot Point
Open the Nifty 50 spot chart, switch to daily candles and read the high, low and close from the last completed candle. On a Monday after a normal trading week, that means Friday's candle. You can also look up all three values in the NSE Indices historical data.
Using the example above, first work out the pivot and the previous day's range:
Pivot (P) = (25,200 + 24,900 + 25,140) ÷ 3 = 25,080
Range = 25,200 - 24,900 = 300 points
With Standard pivots, R1 is twice the pivot minus the previous low, so (2 × 25,080) - 24,900 = 25,260. S1 is twice the pivot minus the previous high, so (2 × 25,080) - 25,200 = 24,960.
Keep the same daily levels when you switch to a 5-minute or 15-minute chart. The shorter candles show how price behaves around those levels during the day.
Daily pivots suit intraday trades. Weekly pivots, built from last week's high, low and close, suit swing trades that last a few days.
Related: 7 Bollinger Bands Strategies for Indian Traders: Intraday, F&O and Swing
Spot, Futures or Option Premium: Which Data to Use
Pivots only match the chart they were calculated from. Nifty futures have their own high, low and close, so futures pivots will not line up with spot pivots.
If your signal comes from the Nifty spot chart, compare 25,260 with the index. An option premium also has its own high, low and close. For a rule based on the option premium itself, use the data for that strike and expiry.
Check out this blog for full algo trading workflow - Best indian softwares for algo trading
How to Read a Pivot on a 5-Minute Nifty Chart
Suppose Nifty is trading above the 25,080 pivot and approaching R1 at 25,260 from below. Two candles can tell very different stories at the same level.
Nifty touches R1 and falls back. A 5-minute candle trades as high as 25,274 but closes at 25,252. Buyers pushed through R1 during the candle, but by the close Nifty was back below it.
Nifty closes above R1. The next candle closes at 25,268. The close has now crossed from below 25,260 to above it, so a rule that waits for a 5-minute close above R1 would trigger on this candle.
R2 at 25,380 is the next resistance, though Nifty can turn back before reaching it. On the downside, watch S1 at 24,960 the same way. A dip below S1 followed by a close back above it tells a different story from a candle that finishes below S1.
Two checks make a pivot signal stronger:
A break above R1 carries more weight when a trend indicator like ADX shows the trend is strong.
A level near a strike with heavy call open interest on the Nifty option chain has two reasons to act as resistance.
You can replay a past session in the Option Simulator to watch how Nifty behaved around each level before trying this live.
Expecting Nifty to stay between S1 and R1 today? Map a range trade around those levels in the Option Strategy Builder and check the payoff first.
Standard, Fibonacci or Camarilla Pivots?
All three methods give the same central pivot for the same inputs. What changes is the distance to support and resistance, so the same Nifty data gives three different values for R1.
This matters when you compare charts. A close at 25,200 is already above Fibonacci R1 but still below Standard R1. Check the pivot method, and whether the chart uses spot or futures prices, before comparing two sets of levels.
Here is the full set of levels for the same example:
Camarilla levels are measured from the previous close (25,140), not from P, which is why they sit so close together. Traders often watch for price to turn back at Camarilla R3 or S3 and treat a clean break past R4 or S4 as a breakout.
Fibonacci and Camarilla Formulas
Fibonacci R1, R2 and R3 add 0.382, 0.618 and 1.000 times the range to P. S1, S2 and S3 subtract the same amounts.
Camarilla R1, R2, R3 and R4 add 1.1 × range divided by 12, 6, 4 and 2 to the previous close. S1 to S4 subtract the same amounts.
Woodie and DeMark Pivots
Some calculators also offer two other methods. Woodie pivots give the close extra weight: P = (High + Low + 2 × Close) ÷ 4, which gives 25,095 in our example.
DeMark pivots need the open as well. If the close is above the open, X = 2 × High + Low + Close, and R1 = X ÷ 2 - Low while S1 = X ÷ 2 - High. With an open of 25,000, that gives R1 at 25,320 and S1 at 25,020.
CPR (Central Pivot Range) Explained
CPR adds two lines around the pivot to form a central band:
Pivot (P) = (High + Low + Close) ÷ 3
Bottom Central (BC) = (High + Low) ÷ 2
Top Central (TC) = (2 × P) - BC
In our example, BC is 25,050 and TC is 25,110, so the band runs from 25,050 to 25,110 with the pivot at 25,080. On days when the close is in the lower half of the range, TC comes out below BC. That is normal, and the two lines simply swap places.
The width of the band is what most traders watch:
A narrow CPR means the previous session was balanced, and it is often followed by a trending day.
A wide CPR means the previous session had a large range, and it is often followed by a sideways day.
Our band is 60 points wide, about 0.24% of the pivot. AlgoTest's docs use 0.25% as an example cutoff for "narrow", but the right number depends on the instrument, so check a few weeks of CPR widths before you set a rule.
How to Test a Pivot Breakout in AlgoTest Signals AI
What happens after a 5-minute Nifty candle closes above R1? You can turn that question into a rule in Signals AI, AlgoTest's no-code signal builder. Like other algo trading software, it recalculates the levels every session, so you don't have to do it by hand each morning.
Choose Nifty spot as the chart data.
Under Entry Conditions, add a Comparison Node. Compare the candle's Close (5-minute timeframe) with Pivot Points and choose Crosses Above.
In the Pivot Points settings, set the Pivot Type to Standard, the Pivot Anchor to Daily, the Pivot Level to R1 and the Timeframe to 5m. Keep Offset at 0 to use the levels in force today.

For an example exit, compare Close with the daily Standard pivot P and choose Crosses Below.
Open Chart Preview and inspect the entry markers. Find a candle whose high crossed R1 but whose close stayed below, then find a close that crossed R1. The second is the event this rule captures.
Run a backtest to see how the rule held up across past sessions.

A chart marker tells you when the condition fired. To measure what an options trade would have earned or lost, attach the trade you want to test and review its backtest.
The same setup works for other pivot ideas. Here are three examples from the AlgoTest Pivot Points and CPR guide:
Signals AI supports Standard, Fibonacci and Camarilla pivots, plus CPR. Woodie and DeMark levels aren't available there, so use a calculator for those.
Turn your pivot rule into a signal and test it on years of Nifty data, no coding needed. Sign up to get 100 backtests free every month
Common Mistakes With Pivot Points
Mixing spot and futures data gives you levels that do not match the chart you trade.
Treating a touch of R1 as a breakout leads to early entries, so wait for a candle to close beyond the level.
Comparing levels from two different pivot methods makes them look wrong, because Standard, Fibonacci and Camarilla space their levels differently.
Using the current day's candle in a backtest makes results look better than real life, because those levels were not known at the open.
Going straight to live money skips the learning stage, so practise your rules on paper trading websites or virtual trading apps first.
From a Pivot Level to a Tested Rule
A pivot point calculator gives you the levels in seconds, but a level alone is not a trade. Decide which pivot method and anchor you use, whether you need a narrow CPR, what counts as a break (a touch or a candle close), where you exit and how much you risk. Then check how that rule held up on trending days, sideways days and expiry days before you rely on it.
AlgoTest helps you move from a pivot idea to a rule you can preview, backtest and paper trade before deciding whether to deploy it.
Join us as we simplify algo trading in India.
Related Reading
FAQs About Pivot Point Calculator
What is the formula for a pivot point?
The Standard pivot is (High + Low + Close) ÷ 3, using the previous session's prices. R1 is (2 × P) - Low, and S1 is (2 × P) - High.
Do I need the opening price to calculate a pivot point?
No. Standard, Fibonacci and Camarilla pivots use only the previous high, low and close, so you can work out the next session's levels as soon as those three values are available. Only DeMark pivots need the open.
Can I use this pivot point calculator for Bank Nifty or individual stocks?
Yes. Enter the previous high, low and close for Bank Nifty or the stock you are analysing. If you use a futures chart, take all three values from the same futures contract.
Which pivot method is best for intraday trading?
No single method works best every day. Standard pivots are the most widely watched, Camarilla is popular for intraday reversals because its levels are tight, and CPR helps judge whether the day may trend or stay range-bound. Test a method on past data before choosing one.
Are pivot points accurate?
Pivot points are not predictions. They mark levels many traders watch, so price often reacts near them, but it can also cut straight through. They work best with a trend filter and a clear stop loss.
What happens if Nifty opens above R1?
The daily levels stay where they are. Price can open beyond a level without trading through it during the session. If you are testing a crossover rule, check which two candle closes your chart compares at the open.
Can I backtest a pivot point strategy?
Yes. In Signals AI, you can use Pivot Points and CPR in entry and exit conditions, check the signals in Chart Preview, then backtest the rule on historical data.