PROTECTED SOURCE SCRIPT
TrEx H/L Trendlines [ETPINVEST]

TrEx H/L Trendlines - User Guide
🎯 WHAT IS THIS INDICATOR?
TrEx H/L Trendlines is a professional indicator for automatic search and display of price extremes with trendline construction.
🔍 WHAT IS IT USED FOR?
Main tasks:
Who is it suitable for:
⚙️ HOW DOES THE ALGORITHM WORK?
1. Extreme search
The indicator uses a complex algorithm to find significant highs and lows through strictly defined candle combinations.
2. Filtering and alternation
Found extremes undergo additional processing:
3. Trendline construction
Based on filtered extremes, connecting lines are built:
🛠️ DETAILED SETTINGS DESCRIPTION
📊 Extremes
Show Extremes
Upper Extreme Color
Lower Extreme Color
Analysis Depth
📈 Trendline
Show Trendline
Trendline Color
Trendline Width
📈 PRACTICAL USAGE TIPS
🎯 Trading strategies
1. Trading from extremes
✅ Buy signal:
✅ Sell signal:
2. Trend structure analysis
✅ Uptrend:
✅ Downtrend:
3. Trend reversal identification
⚠️ Reversal signals:
💡 Settings optimization
For scalping (M1-M5):
For day trading (M15-H1):
For swing trading (H4-D1):
🔍 Additional techniques
Combining with other tools:
⚠️ IMPORTANT FEATURES
✅ Advantages:
⚠️ Limitations:
🎯 CONCLUSION
TrEx H/L Trendlines is a powerful tool for automatic analysis of extremes and trend structure of the market. The indicator is perfect for studying price behavior and can serve as a foundation for developing trading strategies.
🎯 WHAT IS THIS INDICATOR?
TrEx H/L Trendlines is a professional indicator for automatic search and display of price extremes with trendline construction.
🔍 WHAT IS IT USED FOR?
Main tasks:
- Extreme identification - automatic search for significant price highs and lows
- Trend analysis - building trendlines between found extremes
- Reversal point detection - identifying potential zones of direction change
- Structural analysis - understanding the internal structure of price movement
Who is it suitable for:
- 📈 Swing traders - for identifying key turning points
- ⚡ Day traders - for analyzing intraday structure
- 🎯 Scalpers - for precise local extreme identification
- 📊 Analysts - for structural market analysis
⚙️ HOW DOES THE ALGORITHM WORK?
1. Extreme search
The indicator uses a complex algorithm to find significant highs and lows through strictly defined candle combinations.
- Validation - verification of compliance with strict mathematical conditions
2. Filtering and alternation
Found extremes undergo additional processing:
- Selection of strongest - choosing the most significant extremes in each zone
- Ensuring alternation - correct sequence of highs and lows
- Time sorting - chronological ordering
3. Trendline construction
Based on filtered extremes, connecting lines are built:
- Sequential connection - linking all extremes in order
- Trend visualization - displaying overall movement direction
- Structure analysis - understanding internal movement waves
🛠️ DETAILED SETTINGS DESCRIPTION
📊 Extremes
Show Extremes
- Purpose: Enable/disable extreme display
- Default: Enabled
Upper Extreme Color
- Purpose: Color of upper extreme markers (highs)
- Default: Red
Lower Extreme Color
- Purpose: Color of lower extreme markers (lows)
- Default: Green
Analysis Depth
- Range: 50-300 bars
- Default: 200
- Purpose: Depth of historical analysis for extreme search
- Timeframe recommendations:
- M1-M5: 100-150 bars
- M15-H1: 150-250 bars
- H4-D1: 200-300 bars
📈 Trendline
Show Trendline
- Purpose: Enable/disable trendline display
- Default: Enabled
Trendline Color
- Purpose: Color of trendlines connecting extremes
- Default: Yellow
Trendline Width
- Range: 1-5 pixels
- Default: 1
- Purpose: Thickness of trendlines
📈 PRACTICAL USAGE TIPS
🎯 Trading strategies
1. Trading from extremes
✅ Buy signal:
- Price approaches lower extreme (green marker)
- Reversal pattern forms on lower timeframe
- Confirmation by volume or other indicators
✅ Sell signal:
- Price approaches upper extreme (red marker)
- Reversal pattern forms on lower timeframe
- Confirmation by additional signals
2. Trend structure analysis
✅ Uptrend:
- Sequential higher highs and lows
- Trendlines directed upward
- Each new extreme higher than previous
✅ Downtrend:
- Sequential lower highs and lows
- Trendlines directed downward
- Each new extreme lower than previous
3. Trend reversal identification
⚠️ Reversal signals:
- Violation of extreme sequence
- Change in trendline slope
- Formation of divergences with oscillators
💡 Settings optimization
For scalping (M1-M5):
- Analysis Depth: 100-150
- Focus on fresh extremes
For day trading (M15-H1):
- Analysis Depth: 150-200
- Balance between history and relevance
For swing trading (H4-D1):
- Analysis Depth: 200-300
- Maximum analysis depth
🔍 Additional techniques
Combining with other tools:
- Oscillators - finding divergences at extremes
- TrEx S/R Levels - applying support and resistance levels
⚠️ IMPORTANT FEATURES
✅ Advantages:
- Automation - no manual extreme search required
- Mathematical precision - strict selection algorithms
- Universality - works on any assets and timeframes
- Ease of use - intuitive interface
- Trend analysis - automatic structure construction
- Real-time updates - on each candle close
⚠️ Limitations:
- Requires history - needs minimum 50 bars for operation
- Lag - extremes determined after their formation
🎯 CONCLUSION
TrEx H/L Trendlines is a powerful tool for automatic analysis of extremes and trend structure of the market. The indicator is perfect for studying price behavior and can serve as a foundation for developing trading strategies.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。