### Pivot Points 2.0

"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

### Screenshots

##### 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.

##### Developers

```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
return(0);
}```