Average Daily Range Fibonacci Levels

The thicker White lines are the ADR levels; all other lines are the same value adjusted by the various Fibonacci values.
A simpler version of this concept can be seen in my other script, Average Daily Range Zones, which does not include the Fibonacci ratio zones.
Thanks to hank Hill for the original idea and TV for the feedback and support on the use of the security() function.
Also thanks to goldencross for the Fibonacci obsession.
2. Added a toggle for price lines for the current day's fib levels.
- Added a toggle for disabling plots completely on non-intraday charts.
- Added titles to plots for the Style menu.
- Fixed the lines/fill between days to get rid of unnecessary clutter.
- Added a "Fibonacci Scale" input option for scaling the size of the Fibonacci zones.
- Added an input option for changing the color of the plot of the opening price.
- Added an experimental feature that allows the fib levels to be calculated with Standard Deviation or Variance of price instead of the Average. "Basic" is the standard ADR mode.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.