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 สำหรับข้อมูลเพิ่มเติม หรือทำตามคำแนะนำของผู้เขียนด้านล่าง

TradingView ไม่แนะนำให้ชำระเงินสำหรับการซื้อสคริปต์และไม่แนะนำให้ใช้งานสคริปต์นั้นๆ จนกว่าคุณจะไว้วางใจผู้เขียนสคริปต์ 100% และจนเข้าใจว่าสคริปต์ทำงานอย่างไร ในหกรณีอื่นๆ คุณสามารถหาทางเลือกโอเพนซอร์สที่ดีได้ฟรีในไลบรารีสาธารณะของเรา

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

คำแนะนำของผู้เขียน

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

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำเตือน: กรุณาอ่าน ก่อนร้อขอการเข้าถึง