OPEN-SOURCE SCRIPT

ATR Daily Levels

Mis à jour
Plots the daily ATR on the chart as upper and lower levels.

It can be use to adapt your trading in high and low periods of market volatility, determine reasonable target or take profit, entry at likely mean reversion, stop loss beyond normal flows etc...

More on the script behavior:
- Daily ATR upper/lower levels are applied on the current day low/high;
- The ATR value is defined by the last D1 bar;
- Shows up to D1 timeframe;
- Configuration for the indicator's period (default: 20 period ATR);
- Configuration for plotting the indicator on the the x axis with an offset/at begining of the day (default: offset);
Notes de version
Fix input period on ATR.
Notes de version
  • enable switching daily ATR values between yesterday-today;
  • allow styling of levels at default and overflow states;
  • change display values from fixed to rounded numbers;
Notes de version
  • In some charts, gaps are not taken into account. This update fixes it.
  • When there are discrepancies between intraday and D1 OHLC, the script now uses the ones from the currently displayed timeframe.
  • On non 24-7 markets, after weekends and holidays the lines are longer, it fixes their length.
Notes de version
v5.0

The update brings a complete rewrite of the script on Pine v5, along with the following changes:
  • Enable showing the next ATR levels when the market is closed
  • Display values on the price scale, the status line, and the data window
  • Display notifications on the bottom right of the chart
  • Align the rounding of numbers as the chart (from min tick to min precision)
Notes de version
v6

Fixed the "Show Next ATR Levels" feature not applying when enabled.
ATRatrindicatoratrlevelsAverage True Range (ATR)dailyatrdailylevelslevelsrangetomdantetraderdanteVolatility

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


🌟 Listed as "Trusted Pine Programmer"

👨‍💻 Coding services: sbtnc.dev/hire-pine-script-developer

🔒 Premium indicators: sbtnc.gumroad.com
Aussi sur:

Clause de non-responsabilité