colejustice

Average Daily Range Fibonacci Levels

The Average Daily Range is a simple concept, calculated as the difference between daily highs and lows averaged over some period. This indicator uses that range in conjunction with Fibonacci ratios to create zones centered on the day's open that tends to act as areas of support and resistance .

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.
Catatan Pelepasan: 1. Added a toggle for showing the zone fills only.
2. Added a toggle for price lines for the current day's fib levels.
Catatan Pelepasan: Added the ability to adjust the timeframe used for the average range calculation.
Catatan Pelepasan: Added some more options for visibility settings.
Catatan Pelepasan: Added a "dynamic mode" for fibs outside of the ADR range; when toggled, the script will automatically turn on or off those higher or lower fibs levels based on the high or low of day's proximity to them.
Catatan Pelepasan: Added alerts for price crossing fib levels, and a toggle for hiding historical ADR and fibs (plot only for today).
Catatan Pelepasan: Added toggles for each fib level's line drawing to make the more congested zones between open and ADR a little less busy.
Catatan Pelepasan: Updated to PineScript v5
Catatan Pelepasan:
  • Added a toggle for disabling plots completely on non-intraday charts.
  • Added titles to plots for the Style menu.
Catatan Pelepasan:
  • Fixed the lines/fill between days to get rid of unnecessary clutter.
Catatan Pelepasan:
  • Added a "Fibonacci Scale" input option for scaling the size of the Fibonacci zones.
Skrip sumber terbuka

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Ingin menggunakan skrip ini pada carta?