QuantNomad

Rolling Pivot Points

Standard Pivot Points are calculated from the previous day’s (week/month/year) close/low/high values. But what is the day close for cryptocurrencies trading 24/7 on exchange? Does it make sense to use a specific time price as a close if it continues trading after that?

So I solved that issue with Rolling Pivot Points, where I calculate pivot points not at the end of the period but for every bar on a rolling basis. Every time I recalculate pivot points, I look at a window of period length in bars and base my calculations on these bars. This way, you get smooth pivot points changing with every bar, and it should better represent support and resistance for the price.

In this indicator, I implement three types of pivot points.
  • Camarilla
  • Fibonacci
  • Traditional

In terms of period, you can select any one you want. If you’ll keep Auto Indicator well, compute period automatically. For two days, for example, use ‘Day’ in Period and 2 in Period Mult parameters.

You can also change the type of MA used to smooth Pivot Points.


Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may perform less well than in historical backtesting.
This post and the script don’t provide any financial advice.

My First Live Course: qntly.com/101
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine

Hire Me: qntly.com/hirepine
Telegram: qntly.com/tel
僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請與QuantNomad聯繫以獲取更多資訊,或按照以下作者的說明進行操作。

在您100%信任腳本作者並了解腳本的工作原理之前,TradingView不建議您購買腳本並使用它。在很多情況下,您可以在我們的社群腳本庫中免費找到一個不錯的開源替代品。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

作者的說明

Follow this link to get access: qntly.com/rpp

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。