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.
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích
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 ?
Phản hồi
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.
Phản hồi
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.
Phản hồi
Hi Quant.

I have a question. How do you get the actual prices showing on the pivots? I have an auto fib tool that I use and all I can get up is the levels. The indicator shows the levels along with the lines, i.e 0.618 or whatever but I cannot get the code to show the current price on that level as you do in this example. I have the trackprice in the code but I cannot get the numbers to come up.
Phản hồi
QuantNomad southnjes
@southnjes, I added them manually with label.new function
Phản hồi
southnjes QuantNomad
Thanks for the reply. I'm not a coder at all just sit for days trying to figure things out through trial and error which is why I have 200+ versions of the indicator I work on). I can understand easy code stuff but nothing too sophisticated.
I tried the label.new function last night. I also tried the "yloc.price" label in every way I could imagine but could not get it to work for Ver 4.

Essentially If I can get just one to work, I could input all the other levels by following the same pattern, but I can't for some reason. Tried in the Ver 3 and Ver 4.

I thought I'd be able to just add code to the existing lines but alas it seems to not work that way.

One line of code for each:

Ver 3
plot(plotF1272 and F1272 ? F1272 : na,color=Fcolor,linewidth=1,trackprice=true,show_last=1,title='1.272',transp=0)

Ver 4
plotshape(plotF1272 and F1272 ? F1272 : na, style=shape.labeldown, location=location.absolute, color=Fcolor, textcolor=color.black, show_last=1, text="1.272", offset=15, transp=30)

Coding is a hell of a lot more complicated than having an ICU pt, let me tell you. :)
Phản hồi
QuantNomad southnjes
@southnjes, hey, don't understand what are you trying to do. Send me the script as a PM, I will try to take a look.
Phản hồi
southnjes QuantNomad
@QuantNomad, I sent a message. I think it went through. Can you let me know that you received it? If not, I'll redo it.
Phản hồi
Is there any way I can get these alerts like a telegram message or email?
I don't know how to use this code. Just need something simple
Phản hồi
@Emmytimm, Add this code to your chart. Go to alerts, create a new one, select which one you want to receive and how (there is email alert as well)
+1 Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Giá Quy tắc Áp dụng Người điều hành Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Nhận trợ giúp Yêu cầu tính năng Blog & Tin tức Câu hỏi thường gặp Wiki Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Đồng TradingView Ticket Hỗ trợ của tôi Nhận trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất