A pivot point is a technical analysis indicator, or calculations, used to determine the overall trend of the market over different time frames. The pivot point itself is simply the average of the high, low and closing prices from the previous trading day. On the subsequent day, trading above the pivot point is thought to indicate ongoing bullish sentiment, while trading below the pivot point indicates bearish sentiment.
The pivot point is the basis for the indicator, but it also includes other support and resistance levels that are projected based on the pivot point calculation. All these levels help traders see where the price could experience support or resistance. Similarly, if the price moves through these levels it lets the trader know the price is trending in that direction.
When the price of an asset is trading above the pivot point, it indicates the day is bullish or positive. When the price of an asset is trading below the pivot point, it indicates the day is bearish or negative. The indicator typically includes four additional levels: S1, S2, R1, and R2. These stand for support one and two, and resistance one and two. Support and resistance one and two may cause reversals, but they may also be used to confirm the trend. For example, if the price is falling and moves below S1, it helps confirm the downtrend and indicate a possible continuation to S2.
This Script includes the Mid Pivot Points, Open and Close levels