TradingView
QuantNomad
11 Jul 2019 pukul 19.36

Fibonacci Pivot Points Alerts 

S&P 500SP

Deskripsi

Created a script for alerts on Fibonacci 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.

And remember:
Past performance does not guarantee future results.

Catatan Rilis

Changing max_bars_back param

Catatan Rilis

minor changes

Catatan Rilis

Minot fixes v2

Catatan Rilis

Cleaning the code
Komentar
UnknownUnicorn6624518
Hi Nomad,

Brilliant work here! Thanks for sharing. I encounter an error when I try to set the timeframe to 1min candles. It returns as:" Pine cannot determine the referencing length of a series..." Can you try to debug that?
kushrolled100
@Oddsey, I did a quick workaround by adding "max_bars_back = 600" within the study function at the top there for the pivot lines to show up on my 1-minute and 2-minute charts. I hope QuantNomad will add a proper fix for these time frames in the future! Until then, this will have to do.
UnknownUnicorn6624518
@kushrolled100, Great info. Thanks for sharing, brother.
kushrolled100
@Oddsey, Lol after I replied that I realized 600 was a bit too low... 1000 seems to be more consistent.
UnknownUnicorn6624518
@kushrolled100, haha, I was just backtesting it. 600 wouldn't work, but 1000 nails it :)
Robin114
@kushrolled100, Bro can you please share a screenshot of where you put "max_bars_back = 600" ? i am new. i don't understand pine that much. Thanks :)
James_Bl
millionwaffles
🌟 **Thank You, Quantum Nomad 🌟**

The indicator is incredibly accurate.
Interested in subscribing for your cryptocurrency & Forex software. The currency strength chart is amazing—I haven't seen anything like it before. Looking forward to exploring!
MHatoum
Hello Nomad,

Much appreciated for this tool, is there a way I can hide the previous lines and just show for the previous day lines. I just want to show the levels of yesterdays fibonacci pivot points for Daily TF And remove all other drawing
QuantNomad
@MHatoum, try to remove the following code: "if (not is_newbar(pp_res))" when deleting previous lines
Lebih lanjut