PivotPoint( Source, TrendSize, PivotNo);
Source - This is the array that will be used for calculating the indicator. This can be the price or another indicator like RSI.
TrendSize - This value specifies how large the trend should be for a point to be considered as a pivot.
PivotNo - This value specifies the pivot for which you want to get the value.
The PivotPoint function returns the value of the Nth pivot specified by PivotNo.