DeMark Pivot Point Calculator
Calculate Tom DeMark's pivot points to identify potential support and resistance levels for the next trading session.
Previous Session Data
Enter the Open, High, Low, and Close prices from the previous trading session (e.g., yesterday's daily candle) to calculate levels for the current session.
Upper reference level; not a forecast
Lower reference level; not a forecast
How to Use the DeMark Pivot Point Calculator
The calculator applies the DM conditional formula to one completed period. Its three outputs are reference levels, not measured market sentiment or promises of a reversal.
- Enter OHLC from the same completed candle and session.
- Check whether close is above, below or equal to open. This selects the formula branch; it does not establish a trend.
- Compare P, R1 and S1 with your chart. Displayed values are rounded to up to eight decimal places and are not rounded to the instrument’s tick size.
Understanding DeMark Pivot Points
The weighting changes with the close-versus-open relationship. The exact entered prices determine the equality branch.
The Formulas
The calculation of "X" depends on three conditions:
- If Close < Open (Bearish): X = High + (2 × Low) + Close
- If Close > Open (Bullish): X = (2 × High) + Low + Close
- If Close = Open (Neutral): X = High + Low + (2 × Close)
Once X is calculated, the levels are derived as follows:
- Pivot Point (P) = X / 4
- Resistance 1 (R1) = X / 2 - Low
- Support 1 (S1) = X / 2 - High
A reproducible example
For hypothetical open 100, high 110, low 90 and close 105, close is above open. X = 2 × 110 + 90 + 105 = 415. P = 103.75, R1 = 117.50 and S1 = 97.50. These inputs illustrate arithmetic, not an observed trading result.
Match the chart inputs before comparing levels
TradingView’s Pivot Points Standard documentation lists this calculation under DM. Check the selected pivot timeframe and session. Daily-based candles, extended hours and futures settlement prices can differ from intraday inputs.
What these levels cannot tell you
A move through R1 or S1 can be used as a condition in a separately defined trading rule. It does not establish that a breakout will continue or that a reversal will occur. Gaps can cross the levels without a tradable fill. Any strategy needs position sizing, entry and exit rules, fees, slippage and independent out-of-sample testing. This calculator provides no win rate or expected return.
Frequently Asked Questions
Which inputs should I use?
Use open, high, low and close from one completed period, with the same symbol, price units and session definition. High must be at least low; open and close must lie within that range. The calculator does not fetch or verify market data.
Do these levels predict the next price?
No. They are deterministic reference levels from prior OHLC inputs. The close-versus-open label describes that completed period, not the future trend or a probability of reversal.
Why can my TradingView levels differ?
Match the DM pivot type, pivot timeframe and OHLC inputs. Daily-based data, extended trading hours and futures settlement conventions can produce different candles. Compare the underlying inputs before comparing the outputs.
Does this calculator automate trading?
No. It calculates three levels locally. Pineify’s separate coding product can help draft a strategy, but code still needs validation and testing; order execution requires a separate supported setup.
Draft a Pine Script rule for testing
Use Pineify’s separate coding workflow to describe a pivot-based indicator or strategy. Review the generated code and test it in TradingView. This calculator does not transfer inputs, place orders or establish live execution.