Camarilla Pivot Points Indicator for MT4 and MT5

Written by Dominic Walsh · Published · Last updated

The camarilla pivot points indicator measures from the close, not the pivot. That one difference separates it from a classic set: yesterday’s range gets divided by twelve, six, four and two, each result multiplied by 1.1, and every level laid out from where the day finished rather than from an average.

This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.

Platforms MT4 (.ex4) + MT5 (.ex5)
Chart window Main price chart
Plots 11: PP, H1, H2, H3, H4, L1, L2, L3, L4, BUY, SELL
Alerts popup
Inputs 3

On the chart: plots and colours

Nine lines and a pair of marks.

`PP` traces deep sky blue as the average.

`H1` through `H4` climb from khaki to crimson.

`L1` through `L4` fall from pale turquoise to dark green.

The third and fourth levels draw at width 2.

`BUY` and `SELL` marks sit on the price chart.

  • PP: line, deep sky blue, width 1
  • H1: line, khaki, width 1
  • H2: line, gold, width 1
  • H3: line, tomato, width 2
  • H4: line, crimson, width 2
  • L1: line, pale turquoise, width 1
  • L2: line, medium sea green, width 1
  • L3: line, sea green, width 2
  • L4: line, dark green, width 2
  • BUY: arrow, lime, width 4, arrow code 233
  • SELL: arrow, red, width 4, arrow code 234
camarilla pivot points indicator: The full Camarilla set on the EURUSD H1 chart.
The full Camarilla set on the EURUSD H1 chart.

What feeds each plot

Yesterday, in three prices

The daily series supplies them. Yesterday’s high, low and close come straight from that series rather than off your own chart. High minus low gives the range everything else measures in.

The divisor series

Four fractions do the work. Range times 1.1 over twelve, six, four and two. Each result adds to the close for a high level and subtracts from it for a low one.

The odd one out

`PP` breaks the pattern. It averages high, low and close the classic way, so it is the one line here that does not measure from the close. It sits among the rest as a reference.

What you are looking at

Spacing widens sharply toward the fourth level.

Tradition watches the third pair for a reversal.

It watches the fourth pair for a breakout instead.

Every level holds flat for the whole session.

`ShowCurrentDayOnly` hides older sessions.

Plot names H1 to H4 mean levels, not the hourly timeframe.

Alert channels in this build: popup, one message per closed bar.

`EnableAlerts` is the one control here and ships on, raising a terminal message when price reaches a level on a closed bar. This build offers no phone, mail or audio route, so the terminal is where every message lands.

Every Camarilla Pivot Points Indicator input

Display settings

Setting What it does Default
ArrowOffsetPts How far a mark stands off its candle, `30`. 30
ShowCurrentDayOnly Hide older sessions’ levels, `true`. on

Alert settings

Setting What it does Default
EnableAlerts Whether a level touch raises a message, `true`. on
camarilla pivot points indicator: Inputs panel, all three settings at once.
Inputs panel, all three settings at once.

Fitting it to a chart

Levels from one daily bar need a chart with several bars a session. EURUSD H1 is the reference chart, where price reaches the inner pairs most days. Drop to M15 and you see how each level is tested. On daily bars the whole set collapses onto one candle.

Where the logic runs out

A quiet yesterday packs all eight levels together.

The fourth pair is rarely reached at all.

Nothing adapts when today behaves unlike yesterday.

Level names clash with timeframe names on a crowded chart.

Copy the compiled Camarilla Pivot Points Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.

Related on forexmt4systems.com: Pivot Point Strategy.

Download the Camarilla Pivot Points Indicator for MT4 and MT5

The zip holds the compiled Camarilla Pivot Points Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.

Download this indicator free

Enter your email and the file is yours. You also get the full MT4 and MT5 library.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

How do Camarilla levels differ from classic pivots?

They measure from yesterday’s close rather than from the pivot average, and space by the 1.1 divisor series instead of doubling. The two sets never line up on a chart, which catches people out when comparing.

Why does the PP line use a different formula?

Because it is the classic pivot, kept as a reference. It averages yesterday’s high, low and close, which makes it the only line in the set that does not measure out from the close itself.

What separates the H3 and H4 levels?

Distance and intent. The third sits a quarter of the adjusted range out, where tradition looks for a reversal. The fourth sits at half, and reaching it reads as a breakout instead.

Does ShowCurrentDayOnly change any level?

No, only how many sessions appear. Leaving it on shows today’s set alone, which keeps the chart readable. Switching it off leaves previous days in place for comparison.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Camarilla Pivot Points Indicator as one input. Always backtest before trading live.

Category: this is part of our Support and Resistance collection. Also, truly, browse more Support and Resistance for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.

External references

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment