OPEN-SOURCE SCRIPT
Aktualisiert Highest-Lowest Trend

๐๐๐๐๐๐๐-๐๐๐๐๐๐ ๐๐๐๐๐ฟ ๐๐๐ฟ๐๐พ๐ผ๐๐๐
Overview:
The "Highest-Lowest Trend" indicator helps traders identify trends based on the highest and lowest values within a specified period. It provides visual cues to understand potential trend changes, making it a valuable tool for technical analysis.
Settings:
Visual Settings:
Indicator Calculation:
The indicator calculates the highest and lowest values within the defined length and offset.
The current trend is determined based on whether the closing price is above or below these values.
When the source crossed above highest indicator changes trend to upside and start to use lowest value and vice versa.
Pine Scriptยฎ
Usage:
Note:
Trading involves inherent risks, and it is essential to exercise caution and employ multiple tools and indicators for comprehensive analysis. While the "Highest-Lowest Trend" indicator provides valuable insights into potential trend changes, relying solely on one tool for trading decisions is not recommended. Market conditions can be dynamic, and using a combination of indicators can enhance your overall analysis, providing a more robust foundation for decision-making. Always consider the broader market context, risk management strategies, and other relevant factors before executing trades.
Overview:
The "Highest-Lowest Trend" indicator helps traders identify trends based on the highest and lowest values within a specified period. It provides visual cues to understand potential trend changes, making it a valuable tool for technical analysis.
Settings:
- Length and Offset: Adjust the length and offset parameters to customize the sensitivity of the indicator.
- Source: Determines whether to use the high and low prices or the closing price and others for calculations.
Visual Settings:
- Bar Color: Enables or disables the coloring of bars based on the trend direction.
- Up Color: Specifies the color for upward trends.
- Down Color: Specifies the color for downward trends.
Indicator Calculation:
The indicator calculates the highest and lowest values within the defined length and offset.
The current trend is determined based on whether the closing price is above or below these values.
When the source crossed above highest indicator changes trend to upside and start to use lowest value and vice versa.
/// ๐๐๐ฟ๐๐พ๐ผ๐๐๐ ๐พ๐ผ๐๐พ๐๐๐ผ๐๐๐๐ ///
var series float hlt = 0.0
series float upper = ta.highest(Use_High_and_Low ? high : src, length)[offset]
series float lower = ta.lowest( Use_High_and_Low ? high : src, length)[offset]
hlt := src > upper ?
lower : src < lower ?
upper : nz(hlt)
Usage:
- Trend Identification: Watch for price to be above Trend Indicator crosses for up trend and below for down trend.
- Length and Offset: Adjust the length and offset parameters to customize the sensitivity of the indicator.
- Color, color bars: Change color of trends and bars for your taste
Note:
Trading involves inherent risks, and it is essential to exercise caution and employ multiple tools and indicators for comprehensive analysis. While the "Highest-Lowest Trend" indicator provides valuable insights into potential trend changes, relying solely on one tool for trading decisions is not recommended. Market conditions can be dynamic, and using a combination of indicators can enhance your overall analysis, providing a more robust foundation for decision-making. Always consider the broader market context, risk management strategies, and other relevant factors before executing trades.
Versionshinweise
fixed line 24Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source verรถffentlicht. Auf diese Weise kรถnnen nun auch andere Trader das Script rezensieren und die Funktionalitรคt รผberprรผfen. Vielen Dank an den Autor! Sie kรถnnen das Script kostenlos verwenden, aber eine Wiederverรถffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Verรถffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlรคgen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source verรถffentlicht. Auf diese Weise kรถnnen nun auch andere Trader das Script rezensieren und die Funktionalitรคt รผberprรผfen. Vielen Dank an den Autor! Sie kรถnnen das Script kostenlos verwenden, aber eine Wiederverรถffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Verรถffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlรคgen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.