OPEN-SOURCE SCRIPT

Prior Day High/Low and Highest High/Lowest Low

Features:
Prior Day High and Low:
The script tracks and displays the previous trading day's high and low prices. These levels can serve as important areas of support or resistance, helping traders to make informed decisions about potential price reversals or breakouts.

Highest High and Lowest Low Over N Days:
This indicator also tracks and displays the highest high and lowest low over the last N days, where N is user-configurable. This allows traders to see broader trends in price action and identify key levels for potential trend changes.

User-Configurable Inputs:
  1. Show Prior Day High/Low: Toggle whether to display the prior day’s high and low levels.
  2. Days to Consider for Highest High/Lowest Low: Define the number of days over which the highest high and lowest low are calculated.
  3. Show Highest High/Lowest Low: Toggle whether to display the highest high and lowest low levels over the specified period.
  4. Low Source and High Source: Customize the data sources for the high and low values.
  5. Automatic Data Handling:
  6. The script automatically tracks the daily high and low prices, storing them in arrays, and calculates the highest and lowest prices over the user-specified number of days. When a new day begins, the prior day's data is saved, and the calculations are updated accordingly.


Visual Display:
The indicator uses distinct colors and plotting styles:

  1. Prior day’s high and low are plotted as blue circles.
  2. The highest high over N days is plotted as a red circle.
  3. The lowest low over N days is plotted as a green circle.
  4. This indicator helps traders stay informed about significant price levels, which are often used in trading strategies for breakouts, trend following, or reversals.
Bands and Channelsmultitimeframe

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?


Aynı zamanda::

Feragatname