OPEN-SOURCE SCRIPT

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.
版本注释
1. Added a toggle for showing the zone fills only.
2. Added a toggle for price lines for the current day's fib levels.
版本注释
Added the ability to adjust the timeframe used for the average range calculation.
版本注释
Added some more options for visibility settings.
版本注释
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.
版本注释
Added alerts for price crossing fib levels, and a toggle for hiding historical ADR and fibs (plot only for today).
版本注释
Added toggles for each fib level's line drawing to make the more congested zones between open and ADR a little less busy.
版本注释
Updated to PineScript v5
版本注释
  • 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.
ADRaveragedailyrangeDaily ChartsFibonacci RetracementHistorical VolatilitysupportSupport and Resistance

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Thanks for using my indicators; I hope they make you money! Check out the website link for more, and thanks for your support!
更多:

免责声明