Traditional Pivot Points Alerts

Created a script for alerts on Traditional Pivot Points .
You will be able to create separate alerts for every level or create one for price crossing any level.
Because of some TradingView limitations, alerts won't be fired for the first bar of the session. Will try to solve that in the new versions.
In the script used new v4 plotting features, so will be able to plot levels and labels nicely. Unfortunately, there is a limit on the number of consecutive lines you can plot on the plot (around 50), so lines in the past will disappear.
You can enable/disable in params displaying level itself on the chart.

And remember:
Past performance does not guarantee future results.
เอกสารเผยแพร่: Cleaning the code
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
PineScript Programming: https://qntly.com/pinepro
TradingView Essential: https://qntly.com/tve

Access to Pro Indic.: https://qntly.com/proind

YouTube: https://qntly.com/youtube
Discord: https://qntly.com/discord
Telegram: https://qntly.com/tel


Getting error while implementing on 5 mins chart.
Hi, Can you add Hourly also.
If possible add average Line of previous 'n' days or weeks or months or years
i.e Average Pivot of last 5 days, or 10 days or .... etc...
How can I change max_bars_back? Because I get an error all periot and non visible all pivot line.
"Pine cannot determine the referencing length of a series. Try using max_bars_back in the study or strategy function"
QuantNomad UnknownUnicorn11435715
@UnknownUnicorn11435715, Add something like max_bars_back = 5000 to your study call.

Could you please write a script that 15 minutes candle breakout 2 resistance or support with the body...

Example: Candle Open Below R1 and Closed Above R2 (15 minutes time frame)
Example: Candle Open Above S1 and Closed Below S2 (15 minutes time frame)
is it possible to change the colours and the letters that are beside the lines?
QuantNomad rvannest2002
@rvannest2002, yep, but you have to adjust the code for that

i tried your script but i got an error meaning '"too many drawings, cannot clean oldest". Do you have the same error? thanks
@Tetef, Hi PM me screenshot with params, symbol and timeframe used, I will take a look.
หน้าแรก ตัวช่วยคัดกรองหุ้น ตัวคัดกรองฟอเร็กซ์ ตัวคัดกรองคริปโต ปฏิทินเศรษฐกิจ เกี่ยวกับ ฟีเจอร์ของชาร์ต อัตราค่าบริการ แนะนำเพื่อน กฎระเบียบการใช้งาน ศูนย์ช่วยเหลือ โซลูชั่นสำหรับเว็บไซต์ & โบรกเกอร์ วิดเจ็ต ชาร์ตโซลูชั่น Lightweight ชาร์ตไลบรารี บล็อก & ข่าว Twitter