gkjch

Simple Pivots

Super Simple Pivots, based on
and adapted from

Will take a low or high point and compare left and right, if its the lowest or highest respectively, a line is drawn forward until another point meets the criteria

The lookback period will delay the formation of new pivots. In the original two indicators, the pivot lines would stop drawing. I have added a line extension from the most recent pivots forward to indicate whether the current market price exceeds or is within the recent pivot point ranges. If the market price is above or below the high or low pivots respectively, the line will become solid. Otherwise, the pivot extension lines will be dotted.

There is an option to place price labels below the historical pivot points. Default is disabled because it clutters the chart.

Removed all alerts and MA from the original two indicators to improve speed.

Let me know if you have any questions!
gkjch
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

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.

Ingin menggunakan skrip ini pada carta?