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
Yalnızca davetli komut dosyası

Bu komut dosyasına erişim, yazar tarafından yetkilendirilen kullanıcılarla sınırlıdır ve genellikle ödeme gerektirir. Sık kullanılanlarınıza ekleyebilirsiniz, ancak bunu yalnızca izin talep edip yazarından bu izni aldıktan sonra kullanabileceksiniz. Daha fazla bilgi için QuantNomad ile iletişime geçin veya yazarın aşağıdaki talimatlarını izleyin.

TradingView, yazarına % 100 güvenip komut dosyasının nasıl çalıştığını anlayana kadar bir komut dosyası için ödeme yapmamanızı ve onu kullanmamanızı önerir. Çoğu durumda, Topluluk Kütüphanemizde ücretsiz olarak iyi bir açık kaynak alternatifi bulabilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Yazarın talimatları

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

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Hatırlatma: erişim istemeden önce lütfen okuyun.