OPEN-SOURCE SCRIPT

Lines of Chaos (ATR/ADR Levels)

Güncellendi
Lines of Chaos Indicator

This script is designed to provide traders with ATR (Average True Range) and ADR (Average Daily Range) support and resistance levels.

How it Works:

  • Support and Resistance Lines: The script plots ATR/ADR-based support and resistance lines based on a moving average of the last ATR/ADR Length days, the previous day's close, and the current day's open. Changing the ATR/ADR Length value changes the number of days of data to average.
  • EMA: The EMA is colored red when the ticker is potentially bearish. The EMA is colored green when the ticker is potentially bullish. Changing the EMA Length changes the number of data bars to average.
  • Default Settings: The default settings are optimized for most trading environments.


Key Features:

  • ATR & ADR Calculation: You can use ATR, ADR, or both. ATR is recommended for most scenarios.
  • Customizable Lengths: Adjust the ATR/ADR Length to refine the average calculation to your preference, with 14 being the standard value.
  • EMA for Market Bias: The EMA helps determine the ticker bias. It is colored green when the market is above the average price and red when below. This allows you to more easily determine whether or not the ADR/ATR levels are valid.
  • Versatile Usage: Suitable for various trading types, ensuring broad applicability across different market conditions.


How to Use:

  • Bounces off Levels: When the price bounces off a support/resistance level, the price will likely respect this level. This indicates that the price is unlikely to exceed the ticker's average volatility.
  • Breakthroughs of Levels: When the price breaks through a support/resistance level, the price will likely continue beyond this level. This indicates that the price has moved beyond that ticker's average volatility.
Sürüm Notları
  • Added Support and Resistance Zones to make bounces/breakthroughs easier to spot when not directly on the line
  • Refactored code
Sürüm Notları
  • Zone Range Percentage Setting: You can now change the zone range percentage. The zone range percentage controls the size of the zones for each support/resistance level. The default of 1 (1% above, 1% below) is recommended.
  • Support/Resistance Lines are now hidden by default in favor of Support/Resistance Zones
  • Support/Resistance Zone Lines now have a thickness of 2 by default
Pivot points and levelsSupport and ResistanceVolatility

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname