The Pivot Points indicator for MT4 draws the pivot, support and resistance levels for each trading day (or week) directly on your chart. It calculates them from the previous day’s or week’s high, low and close, offers Standard, Fibonacci, Woodie and Camarilla formulas, and labels each current level with its exact price.
Pivot points are among the oldest intraday levels in trading, and many traders still watch them because so many others do. This free MetaTrader 4 indicator draws the full history of levels, one day at a time, so you can scroll back and see how price reacted to them in the past.
What Is the Pivot Points Indicator?
A pivot point is a reference price calculated from the previous period’s range. Levels above it are resistance (R1, R2, R3 and, for Camarilla, R4) and levels below it are support (S1 to S4). Because the inputs are fixed once the previous day has closed, the levels stay the same for the whole of the current day and give you a map of possible turning and breakout areas before the session starts.
How the levels are calculated
The indicator reads the high (H), low (L) and close (C) of the previous D1 bar, or the previous W1 bar when PivotTimeframe is Weekly, using MT4’s iHigh, iLow and iClose functions. The range is H − L.
| Type | Pivot (PP) | Resistance | Support |
|---|---|---|---|
| Standard | (H + L + C) / 3 | R1 = 2PP − L, R2 = PP + range, R3 = H + 2(PP − L) | S1 = 2PP − H, S2 = PP − range, S3 = L − 2(H − PP) |
| Fibonacci | (H + L + C) / 3 | PP + 0.382, 0.618 and 1.000 × range | PP − 0.382, 0.618 and 1.000 × range |
| Woodie | (H + L + 2C) / 4 | Same R1 to R3 formulas as Standard, using the Woodie PP | Same S1 to S3 formulas as Standard, using the Woodie PP |
| Camarilla | (H + L + C) / 3 | C + range × 1.1/12, 1.1/6, 1.1/4, 1.1/2 (R1 to R4) | C − range × 1.1/12, 1.1/6, 1.1/4, 1.1/2 (S1 to S4) |
Some versions of Woodie pivots use the current day’s open instead of the previous close. This indicator uses the previous close, as shown above. Camarilla levels are centered on the previous close; the PP line drawn with Camarilla is the classic pivot, included as a reference.
Each chart bar is matched to the day (or week) it belongs to, so the whole history shows the levels that applied at that time. A one-bar gap is left where each new day begins so the lines do not join diagonally. Labels show the current period’s levels only. If your broker creates a short Sunday D1 candle, IgnoreSundayCandle makes Monday’s levels come from Friday instead.
Key Features
- Four pivot formulas: Standard, Fibonacci, Woodie and Camarilla.
- Daily or weekly pivots from the previous completed D1 or W1 bar.
- Full history of levels drawn as indicator lines, readable in the Data Window.
- Price labels for the current levels at the right edge of the chart.
- Separate colors for the pivot, resistance and support levels, plus line style and width.
- Sunday-candle handling for brokers that open on Sunday.
How to Trade With the Pivot Points Indicator
Pivot levels are used in two main ways: as areas where price may turn, and as levels price may break through with momentum.
Reversal (fade) approach
- In a range-bound session, wait for price to reach R1 or S1 (R3 or S3 with Camarilla, which are popular fade levels).
- Look for rejection at the level: a pin bar, an engulfing candle, or a failed break that closes back inside.
- Enter in the direction of the rejection and target the pivot (PP) or the next level back toward it.
- Place the stop beyond the level you faded, or beyond the next level out.
Breakout approach
- Watch for a candle to close beyond R1 or S1 (R4 or S4 with Camarilla) with momentum.
- Enter on the close, or on a retest of the broken level from the other side.
- Target the next level out, and place the stop back inside the broken level.
Position relative to the pivot itself is useful context: many traders lean long while price holds above PP and short while it holds below. The levels gain weight when they line up with the previous day high and low or round numbers. For a quick manual calculation, the pivot point calculator on our tools page uses the same inputs.
Best Settings
- Day trading on M5 to H1: Standard or Camarilla, Daily, labels on. Standard gives wider levels; Camarilla gives tighter levels around the close that suit range trading.
- Swing trading on H1 to H4: switch PivotTimeframe to Weekly.
- Fibonacci pivots suit traders who already use Fibonacci ratios and want the levels spaced by them.
- Cleaner chart: use LineStyle Dot with LineWidth 1 so the levels stay in the background.
The indicator hides itself on charts at or above the pivot timeframe (for example D1 pivots on a D1 or W1 chart), since one level per bar would not be useful. Levels depend on your broker’s server time, because that decides where each D1 bar starts and ends.
Does It Repaint?
No. Pivot Points is non-repainting. Every level comes from a D1 or W1 bar that has already closed, so the values for any day are fixed from that day’s first bar and never change afterwards. The only exception is a history download: if MT4 loads more D1 or W1 data, the indicator redraws its history once so the levels match the newly loaded bars. You can read more in our guide to repainting indicators.
How to Install
Download the free file, then in MetaTrader 4 open File > Open Data Folder > MQL4 > Indicators and copy pivot-points-indicator-mt4.mq4 into that folder. Restart the terminal or right-click Indicators in the Navigator and choose Refresh, and the indicator compiles and appears under Indicators > Custom. Drag it onto a chart and adjust the inputs in the window that opens. The full walkthrough, with fixes for common problems, is in our guide on how to install indicators in MT4. This is an MT4 file, so it will not load in MetaTrader 5 (the two platforms use different file formats), and the MT4 mobile apps cannot run custom indicators at all, as explained in our MT4 mobile indicators guide.
Related Indicators
- Camarilla Pivots Indicator MT4, a dedicated Camarilla tool.
- Camarilla Pivot Points Indicator MT5 for MetaTrader 5 users.
- Daily Support and Resistance Special Indicator MT4 for another take on daily levels.
- Previous Day High Low Indicator MT4 to add yesterday’s extremes.
- VWAP Indicator MT4 for a volume-weighted session average.
See every channels and levels indicator in the library.
Trading on margin carries a high level of risk, so test any new tool on a demo account before you use it with real money.

