OPEN-SOURCE SCRIPT
Simple Pivot Points with dots, not lines(automatic setup)

1. Why Pivot Point is popular
Because unlike most indicators, it's not lagging! It is forward-looking, it's real-time, it's just right there.
2. Why this script is created?
I don't like many indicator lines crossing my screen everywhere, just as some Pivot Point indicators did. So I wrote this script to keep my screen as clean/neat as possible.
3. About the other “manual setup” version.
I'm a E-mini S&P500 future trader, and I found the close prices on Daily chart is different from the ones on lower timeframe occasionally.
So I asked some TradingView staff and the reply was:
The closing price of a daily bar on TradingView is based on a Settle price from the exchange. The exchanges, at times, send this value before the close of the trading day, which leads to the situation when the price for daily-based resolutions does not change after receiving this Settle value, while the price changes still occur at smaller resolutions, since the construction of intraday bars is based on the actual trades produced.
So, if you found the same problem also occurs on your tickers, you can search the "Simple Pivot Points with dots, not lines(manually setup)" version, in which
--------
If you want the dots stay a little further from your bars, you can adjust the "offset" parameter in the code. The larger the number is, the further the dot stays.
Because unlike most indicators, it's not lagging! It is forward-looking, it's real-time, it's just right there.
2. Why this script is created?
I don't like many indicator lines crossing my screen everywhere, just as some Pivot Point indicators did. So I wrote this script to keep my screen as clean/neat as possible.
3. About the other “manual setup” version.
I'm a E-mini S&P500 future trader, and I found the close prices on Daily chart is different from the ones on lower timeframe occasionally.
So I asked some TradingView staff and the reply was:
The closing price of a daily bar on TradingView is based on a Settle price from the exchange. The exchanges, at times, send this value before the close of the trading day, which leads to the situation when the price for daily-based resolutions does not change after receiving this Settle value, while the price changes still occur at smaller resolutions, since the construction of intraday bars is based on the actual trades produced.
So, if you found the same problem also occurs on your tickers, you can search the "Simple Pivot Points with dots, not lines(manually setup)" version, in which
- I replace the D(representing the Daily timeframe ) with 1440(representing 1440 minutes) in the script, making the daily Pivot Points more accurate.
- You can set the "last week/month close" in the "script settings" MANUALLY to ensure the weekly/monthly Pivot Point is the most accurate.
--------
If you want the dots stay a little further from your bars, you can adjust the "offset" parameter in the code. The larger the number is, the further the dot stays.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。