The Pivot Point indicator calculates the numerical average of a stock's high, low and closing prices, and is used to help identify resistance and support levels. We calculate pivot points using the five-point system, which uses the previous day's high, low and close (including after hours if you have selected "Show data outside of regular trading hours" in your TWS Chart Parameters window) to get the pivot point, and then calculates two resistance levels and two support levels, as follows:
R2=P + (H-L) = P + (R1-S1)
R1 = (P x 2) - L
P = (H + L + C) /3
S1 = (P x 2) - H
S2 = P - (H - L) = P - (R1 - S1)
where "S" is the support levels, "R" is the resistance levels, "P" is the pivot point, H, L, C are high, low and close, respectively.
Find out more about chart indicators in the TWS Users' Guide.