In the script, you can choose one of 4 types: Traditional, Fibonacci, Woodie, and .
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:
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
Past performance does not guarantee future results.
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.
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:
plot(plotF1272 and F1272 ? F1272 : na,color=Fcolor,linewidth=1,trackprice=true,show_last=1,title='1.272',transp=0)
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. :)