OPEN-SOURCE SCRIPT

Clean ATR Levels

267
Simple 14D ATR +1 & -1 display from PM to Close.

The Clean ATR Levels indicator is a powerful Pine Script tool designed to provide traders with dynamic support and resistance levels based on the Average True Range (ATR) calculation. This indicator automatically draws horizontal lines that represent key price levels where significant market reactions are likely to occur, helping traders identify potential entry and exit points throughout the trading session.
The core functionality centers around calculating ATR levels using the most recent daily close as the reference point. The script draws two primary levels: an upper level at +100% ATR above the current close and a lower level at -100% ATR below the current close. These levels represent statistically significant price zones where the market has historically shown increased volatility and potential reversal patterns. Additionally, the indicator includes an optional previous close line that serves as a psychological reference point for intraday price action.
What sets this indicator apart is its intelligent session management and clean visual presentation. The lines are automatically redrawn at the start of each new trading day and are programmed to extend precisely until 4 PM EST market close, eliminating visual clutter on the chart. This session-aware approach ensures that traders are always working with the most relevant levels for the current trading day without having outdated lines extending unnecessarily into future sessions.
The indicator also features a comprehensive information table that displays real-time values for the ATR calculation, current close price, and both upper and lower ATR levels. This provides traders with exact numerical references without having to manually calculate these critical values. The script is highly customizable, allowing users to adjust the ATR period, line colors, widths, and choose whether to display the previous close reference line, making it adaptable to various trading styles and visual preferences.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.