QuantNomad - Ultimate Pivot Points Alerts

Created a universal script for pivot points alerts.
In the script, you can choose one of 4 pivot point types: Traditional, Fibonacci, Woodie, and Camarilla .

You are able to create separate alerts for every level or create one for price crossing any level.
For separate levels, you can choose: "Cross", "Crossover" and "Crossunder".

You can also choose to show/hide:
Historical Levels
Levels Values
Current Levels - Levels calculated on the current period, on close of the period they will become valid levels for next periods. These levels do not participate in alerts calculations.

Because of some TradingView limitations, alerts won't be fired for the first bar of the session.
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 historical lines in the past will disappear after 6-7 periods.

If you want to hear more from me you can join my Telegram channel: https://t.me/quantnomad
If you want to learn how to code in pine script join my Youtube channel: https://www.youtube.com/quantnomad

If you like my scripts and you want to support me you can donate me some BTC: 3PyTBcq8tabc1hrwvhgUjBfd67SU3i6Hpa

And remember:
Past performance does not guarantee future results.
Ta bort från favoritskript Lägg till som favoritskript
My YouTube: https://qntly.com/youtube
My Discord: https://qntly.com/discord
My Telegram Channel: https://qntly.com/tel
My TradingView Essential Course: https://qntly.com/tve
My Pro Indicators: https://qntly.com/proind


Hi, thanks for sharing this. Do you know how we can extend the pivot lines to the right up to when the period will end? Similar to what the TV Pivot Points do?

I tried with extend.right but that extends the pivots infinitely which is not what I'm looking for.

not always showing the lines

Hi, two pivot points indicator on my screen. There's something wrong. Let me explain :
- On tradingview : The indicator with white text is the code of QuantNomad and we have P : 12 397 , R1 : 12 457, R2 : 12497
- On tradingview : The indicator with green text is the standart pivot points code (native) and we have : P : 12 392.4, R1 : 12 461.6 , R2 : 12 505.9

I'm not sure which one is wrong because on the FXCM marketscope i get the same values for P, R1 and R2 as your code...
Just a little bit confused right now
Does someone have the answer ?
Fred6724 Fred6724

@Fred6724, The result is although not the same when I'm in Daily or in 1 hour
Fred6724 Fred6724
I fixed the problem with :
open_cur = security(syminfo.tickerid, pp_res, open)
For every open/close etc.

With this change, the code displays wrong values first and after correct them. It seems to be an intern error. Maybe you could correct and share this ? :)
@Fred6724, Hi. Can you try to add extended hours to the chart?
There is a difference when you apply to some stuff with extended hours. Sometimes close of the day include extended hours close, sometimes not.
I use what I see on the chart. If you do not display extended hours there might be a difference.
Fred6724 QuantNomad
@QuantNomad, Hi, I heard that this is not possible with FXCM unfortunately.
Phrase mention this or correct your code :)
Hi , I've stumbled upon your script about pivot points , I was using the built in TV "Pivot Points Standard" indicator which I liked very much , but unfortunatly I can't see the code for. In that indicator when switching between timeframes , for example 15min chart the indicator show automatically Daily pivots , and when switching to 1h, 4h it switches to Weekly and when I put Daily charts it switches to monthly. I was wondering how it is possible to do that in pine script to change automatically and not have to change it myself , I really wanted to get Daily pivots on the 1h charts. What's your take on that ?
QuantNomad Crypto_Rage
@Crypto_Rage, I can add this stuff, but there is not code open for "Pivot Points Standard" so I can't exactly reproduce its logic. And all traders have different ideas of how this should work for them. So I have to think about how to implement this properly.
Crypto_Rage QuantNomad
@QuantNomad, Yes the problem is the code is not open , but for the timed I've used the indicator it is very reliable and it works great, this is the only change that I would like to see in it , and also the price of the pivot , like you did in your indicator . May be you can make it changeble so for example on the 1h for me I like to show me daily , but you for example to show you weekly , so it can be cnahged in the options of the indicator.
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Refer a friend Ordningsregler Help Center Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Refer a friend Mina kölappar Help Center Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut