OPEN-SOURCE SCRIPT

Days Higher Than Current Price

Mis à jour
The "Days Higher Than Current Price" indicator is a color-coded tool that provides insights into the historical price performance of an underlying asset. By analyzing the number of bars prior to the selected day that had higher closing prices, this indicator visually represents the comparative strength or weakness of the current price level.

The "Days Higher" indicator utilizes a color-coded scheme to indicate the number of days in the asset's price history where the closing prices were higher than the current day's price. The color spectrum ranges from red to blue, representing varying levels of historical price strength.

Color Coding:
The color coding scheme of the indicator offers a quick and intuitive understanding of the price performance:
  • Red: Represents a higher number of days in the asset's price history where the closing prices were higher than the current day's price. This suggests a weaker price trend or a potential reversal and indicates relative price weakness.
  • Blue: Represents a lower number of days in the asset's price history where the closing prices were higher than the current day's price. This indicates a strong trend of higher prices and suggests relative price strength.
  • Orange & Green: Correspond to different numbers of days where the closing prices were higher than the current day's price. The specific color gradations between red and blue reflect increasing or decreasing historical price strength.

Methodology:
The "Days Higher" indicator examines each bar in the asset's price history leading up to the selected day. It counts the number of bars where the closing prices were higher than the current day's price.
The indicator then assigns a specific color to the price chart based on the count of such days, providing a visual representation of historical price strength relative to the current price level.

Utility:
The "Days Higher" indicator offers traders and investors a unique perspective on the historical price performance of an asset. By assessing the color-coded chart, market participants can quickly gauge the presence of strong or weak historical price trends.

This information can be used to identify potential support or resistance levels, assess the overall strength of a trend, or evaluate the likelihood of a price reversal. Traders may incorporate this indicator into their analysis to make more informed trading decisions based on the historical price strength indicated by the color-coded chart.

It is important to note that this tool should be used in conjunction with other technical analysis tools and indicators to validate signals and make well-rounded trading decisions.

Example Charts:

-Indices-
snapshot

-Stocks-
snapshot

-Cryptos-
snapshot

-Multi-Timeframe-
snapshot
Notes de version
Updated license
Candlestick AnalysisChart patternsPivot points and levelspriceactionpriceactionanalysisstrengthandweaknesssupportandresistancezonestrendindicatortrendreversal

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 ?

Clause de non-responsabilité