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
Skrip jemputan sahaja

Akses ke skrip ini adalah terhad kepada pengguna yang diberikan akses oleh penulis dan kebiasaannya memerlukan pembayaran. Anda boleh menambahkannya kepada senarai kegemaran anda, tetapi anda hanya dapat menggunakannya setelah meminta izin dan mendapatkannya dari penulis. Sila hubungi QuantNomad untuk lebih maklumat atau rujuk arahan penulis seperti di bawah.

TradingView tidak mencadangkan untuk membayar untuk sesuatu skrip dan menggunakannya sehingga anda adalah 100% mempercayai penulisnya dan memahami bagaimana skrip itu berfungsi. Dalam banyak kes, anda boleh mencari alternatif sumber terbuka yang bagus secara percuma di Skrip Komunitikami.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Arahan penulis

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

Ingin menggunakan skrip ini pada carta?

Amaran: sila baca sebelum memohon akses.