Pivot Points 2.0

Metatrader (MT4/MT5) Indicator

"Successful investing is anticipating the anticipations of others."
- John Maynard Keynes
Are you looking for a high-quality pivot points indicator? The PZ Pivot Points indicator is for you because...
  • It displays historical levels for backtesting purposes
  • It allows you to select the reference timeframe
  • It implements customizable colors and sizes
  • It draws the middle points between pivot points
  • You can use it to build a reliable expert advisor
Boost your trading returns with the most useful pivot points indicator, just like hundreds of users have already done!

So, what are Pivot Points?

A pivot point analysis is often used in conjunction with calculating support and resistance levels, similar to a trend line analysis. In a pivot point analysis, the first support and resistance levels are calculated by using the width of the trading range between the pivot point and either the high or low prices of the previous day. The second support and resistance levels are calculated using the full width between the high and low prices of the previous day.


In order to build your expert advisor, you can read data from the indicator using the iCustom() function as exemplified below. Read more information about the iCustom() function here.

int start()
// Read values from the indicator
double r1      = iCustom(Symbol(), Period(), "PZ_PivotPoints", 0, 1);
double r2      = iCustom(Symbol(), Period(), "PZ_PivotPoints", 1, 1);
double r3      = iCustom(Symbol(), Period(), "PZ_PivotPoints", 2, 1);
double pivot   = iCustom(Symbol(), Period(), "PZ_PivotPoints", 6, 1);
double s1      = iCustom(Symbol(), Period(), "PZ_PivotPoints", 3, 1);
double s2      = iCustom(Symbol(), Period(), "PZ_PivotPoints", 4, 1);
double s3      = iCustom(Symbol(), Period(), "PZ_PivotPoints", 5, 1);
// Now do something with those values
// Exit
Frequently Asked Questions
Does the indicator repaint?
Can I hide the historical pivot points?