OPEN-SOURCE SCRIPT

Previous Highs + Lows by HAZED

Mis à jour
📈 Introducing: Previous Highs + Lows by H A Z E D 📉

✨ Overview
Get a clear view of market levels with Previous Highs + Lows v1.0! This indicator lets you track critical previous highs and lows across multiple timeframes, marking them directly on your chart for an intuitive view of support and resistance zones. Whether you’re analyzing breakouts or looking for reversal levels, these indicators provide essential context to refine your trades.

🛠️ Key Features

  • Multiple Timeframes Supported
    Toggle on previous highs and lows for daily, weekly, monthly, 4-hour, and 1-hour charts to match your analysis style.

  • Customizable Labels
    Choose label sizes from “tiny” to “huge,” adjust the opacity to blend seamlessly with your chart, and customize text color for optimal readability.

  • Label Position Control
    Avoid overlap with a flexible label offset feature, allowing for 10 adjustable increments to fit your preference and chart layout.

  • Clear Visual Cues
    Labels use icons to differentiate high (⬆️) and low (⬇️) levels at a glance, providing a straightforward way to interpret key price areas.

  • Instant Alerts for Key Levels
    Receive alerts when the price crosses over previous high levels, keeping you informed about potential breakout zones without constant chart-watching.


🚀 How to Use
  • Identify Key Levels: Quickly locate significant highs and lows from previous periods to define your support and resistance zones.
  • Set Alerts: Stay updated on market moves with built-in alerts when prices cross these critical levels.
  • Customize Your View: Use the various options to make this indicator uniquely yours – adjust label size, color, opacity, and position.


🔔 Why Use Previous Highs + Lows v1.0?
  • Enhanced visibility of critical levels saves you time by giving you a structured view of price action.
  • Customization features let you adapt the indicator to your personal style and chart setup.
  • Flexible alerts mean you can focus on other tasks without missing important price movements.


🔗 License: Mozilla Public License 2.0
© H A Z E D, 11/4/2024

Notes de version
📢 Update: Previous Highs + Lows v1.1 by H A Z E D

🌟 We are excited to announce the release of Previous Highs + Lows v1.1! This update brings enhancements that improve code maintainability and streamline label creation, all while maintaining the core functionality you rely on.

---

🔧 New Features and Improvements

  • Functionality Consolidation
    Introduced a dedicated function for label creation, reducing redundancy in the code. This improves maintainability and clarity, allowing for easier future updates and enhancements.

  • Consistent Label Handling
    Labels for previous highs and lows are now created using the new function, ensuring consistency in styling and behavior across different timeframes.

  • Enhanced Code Readability
    The overall structure of the code has been improved for better readability, making it easier for users and developers to follow the logic and make adjustments as needed.


📈 Key Features of Previous Highs + Lows v1.1

  • Multiple Timeframes Supported
    Track critical previous highs and lows across daily, weekly, monthly, 4-hour, and 1-hour charts.

  • Customizable Labels
    Adjust label sizes, opacity, and text color to match your trading style and improve chart visibility.

  • Instant Alerts
    Receive timely alerts when price levels cross previous highs or lows, helping you stay informed about potential trading opportunities.


🚀 How to Use v1.1

  • Identify Key Levels: Utilize the labeled highs and lows to determine important support and resistance areas.
  • Set Alerts: Take advantage of the alert system to notify you when significant price movements occur.
  • Customize Your View: Adjust label properties to fit your chart aesthetics and personal preferences.


🔗 License: Mozilla Public License 2.0
© H A Z E D, 11/4/2024
Notes de version
Revert back to v1.0
Notes de version
📢 Update Changelog: Previous Highs + Lows Indicator v1.2

*bRelease Date: November 5, 2024*

We’re excited to introduce Version 1.2 of the Previous Highs + Lows indicator on TradingView! This update brings enhanced customization, improved user experience, and additional features to help you better analyze market trends.

---
### 🚀 New Features

- Enhanced Level Settings with Dropdown Menus
- Timeframe-Specific Control: Users can now select the visibility of high and low levels for each timeframe (Monthly, Weekly, Daily, 4H, 1H) using intuitive dropdown menus.
- Options Available:
- Both: Display both high and low levels.
- High Only: Display only high levels.
- Low Only: Display only low levels.
- None: Hide levels for the selected timeframe.

- Organized Input Groups
- Level Settings Group: Consolidates all timeframe-related level options under a single header for easier navigation.
- Label Settings Group: Groups all label customization options, allowing for streamlined adjustments.

### 🎨 Improved Customization

- Label Appearance Enhancements
- Opacity Control: Fine-tune the transparency of labels to better match your chart’s aesthetics.
- Text Color Selection: Choose your preferred text color for labels to enhance readability against various chart backgrounds.
- Size Options Expanded: More label size options (`tiny`, `small`, `normal`, `large`, `huge`) provide greater flexibility in label presentation.
- Offset Increments Increased: Additional offset options (`1` to `10`) allow for precise label placement.

- Dynamic Label Colors
- Labels now adapt their colors based on the selected timeframe and visibility options, ensuring consistent and meaningful color coding across different levels.

### 📈 Enhanced Plotting

- Distinct Color Palette for High and Low Levels:
- High Levels:
- Monthly High: Purple
- Weekly High: Blue
- Daily High: Green
- 4H High: Red
- 1H High: Orange
- Low Levels:
- Monthly Low: Purple
- Weekly Low: Blue
- Daily Low: Green
- 4H Low: Red
- 1H Low: Orange
- Improved Visibility: Adjustments to plotting logic ensure that levels are displayed accurately based on user selections.

### ⚙️ Technical Enhancements

- Optimized Label Management:
- Labels are now created and deleted more efficiently, reducing potential clutter and ensuring that only the most recent labels are displayed.

- Refined Alert Conditions:
- Updated alert titles and messages for clearer notifications when price crossovers occur.
- Alerts Included:
1. Crossover Daily High
2. Crossover Weekly High
3. Crossover Monthly High

### 🛠️ Bug Fixes & Improvements

- Improved Label Positioning:
- Enhanced calculation for label offsets ensures labels appear in the correct position relative to price movements.

- Code Optimization:
- Streamlined the script for better performance and reliability, ensuring smoother operation during real-time analysis.

---
### 🔄 Upgrade Instructions

1. Access the Indicator:
- Open your TradingView chart and navigate to the Indicators section.

2. Update to Version 1.2:
- If you have the indicator already added, it should automatically update. If not, remove the old version and add the Previous Highs + Lows v1.2 indicator.

3. Customize Settings:
- Utilize the new dropdown menus under Level Settings to tailor the visibility of high and low levels per timeframe.
- Adjust label settings under Label Settings to match your visual preferences.

---
### 📚 Documentation & Support

For detailed guidance on using the new features in Version 1.2, please refer to the updated Indicator Documentation(#). If you encounter any issues or have questions, feel free to reach out through our Support Channel(#).

---
Thank you for using the Previous Highs + Lows indicator! We continuously strive to enhance your trading experience with regular updates and improvements. Stay tuned for more exciting features in the future!

*b© H A Z E D*
Notes de version
# 📢 Update Changelog: Previous Highs + Lows Indicator v1.3

*Release Date: November 5, 2024*

We’re thrilled to announce **Version 1.3** of the **Previous Highs + Lows** indicator on TradingView! This update introduces customizable color options, enhancing the visual flexibility and personalization of your trading charts.

---

### 🚀 New Features

- **Custom Color Inputs for Each Level**
- **Line Colors Group:** Users can now customize the colors for each timeframe’s high and low levels, allowing for a more personalized and visually coherent chart.
- **Customization Options:**
- **Monthly Color:** Set a specific color for Monthly high and low levels.
- **Weekly Color:** Choose your preferred color for Weekly high and low levels.
- **Daily Color:** Customize the color for Daily high and low levels.
- **4H Color:** Select a distinct color for 4H high and low levels.
- **1H Color:** Define the color for 1H high and low levels.

---

### 🎨 Improved Customization

- **Enhanced Line Color Customization**
- **Flexible Visualization:** With the addition of custom color inputs, users can now tailor the appearance of each level to match their trading strategy and chart aesthetics.
- **Consistent Color Coding:** Ensures that high and low levels across different timeframes maintain a consistent and meaningful color scheme, improving chart readability.

---

### 📈 Enhanced Plotting

- **Dynamic Color Application:**
- **Custom Colors in Plots:** High and low levels are now plotted using user-defined colors, providing greater flexibility and control over the indicator’s appearance.
- **Improved Visual Distinction:** Differentiates between various timeframes more effectively through distinct color choices, aiding in quicker market analysis.

---

### ⚙️ Technical Enhancements

- **Optimized Color Management:**
- **Efficient Color Handling:** Streamlined the way colors are applied to plots and labels, ensuring smoother performance and better resource management.

- **Enhanced Label Customization:**
- **Adaptive Label Colors:** Labels now inherit the customized colors of their corresponding levels, maintaining visual consistency across the indicator.

---

### 🛠️ Bug Fixes & Improvements

- **Improved Label Rendering:**
- Fixed issues related to label colors not updating correctly when custom colors are changed.

- **Performance Enhancements:**
- Further optimized the script to reduce latency and improve real-time chart performance.

---

### 🔄 Upgrade Instructions

1. **Access the Indicator:**
- Open your TradingView chart and navigate to the **Indicators** section.

2. **Update to Version 1.3:**
- If you have the indicator already added, it should automatically update. If not, remove the old version and add the **Previous Highs + Lows v1.3** indicator.

3. **Customize Line Colors:**
- Navigate to the **Line Colors** group in the indicator settings.
- Select your preferred colors for each timeframe’s high and low levels to match your trading style and chart design.

4. **Adjust Other Settings (Optional):**
- Utilize existing settings under **Level Settings** and **Label Settings** to further tailor the indicator to your preferences.

---

### 📚 Documentation & Support

For detailed guidance on using the new features in **Version 1.3**, please refer to the updated [**Indicator Documentation**](#). If you encounter any issues or have questions, feel free to reach out through our [**Support Channel**](#).

---

Thank you for using the **Previous Highs + Lows** indicator! We continuously strive to enhance your trading experience with regular updates and improvements. Stay tuned for more exciting features in the future!

*© H A Z E D*
Notes de version
# 📢 Update Changelog: Previous Highs + Lows Indicator v1.3

*Release Date: November 5, 2024*

We’re thrilled to announce **Version 1.3** of the **Previous Highs + Lows** indicator on TradingView! This update introduces customizable color options, enhancing the visual flexibility and personalization of your trading charts.

---

### 🚀 New Features

- **Custom Color Inputs for Each Level**
- **Line Colors Group:** Users can now customize the colors for each timeframe’s high and low levels, allowing for a more personalized and visually coherent chart.
- **Customization Options:**
- **Monthly Color:** Set a specific color for Monthly high and low levels.
- **Weekly Color:** Choose your preferred color for Weekly high and low levels.
- **Daily Color:** Customize the color for Daily high and low levels.
- **4H Color:** Select a distinct color for 4H high and low levels.
- **1H Color:** Define the color for 1H high and low levels.

---

### 🎨 Improved Customization

- **Enhanced Line Color Customization**
- **Flexible Visualization:** With the addition of custom color inputs, users can now tailor the appearance of each level to match their trading strategy and chart aesthetics.
- **Consistent Color Coding:** Ensures that high and low levels across different timeframes maintain a consistent and meaningful color scheme, improving chart readability.

---

### 📈 Enhanced Plotting

- **Dynamic Color Application:**
- **Custom Colors in Plots:** High and low levels are now plotted using user-defined colors, providing greater flexibility and control over the indicator’s appearance.
- **Improved Visual Distinction:** Differentiates between various timeframes more effectively through distinct color choices, aiding in quicker market analysis.

---

### ⚙️ Technical Enhancements

- **Optimized Color Management:**
- **Efficient Color Handling:** Streamlined the way colors are applied to plots and labels, ensuring smoother performance and better resource management.

- **Enhanced Label Customization:**
- **Adaptive Label Colors:** Labels now inherit the customized colors of their corresponding levels, maintaining visual consistency across the indicator.

---

### 🛠️ Bug Fixes & Improvements

- **Improved Label Rendering:**
- Fixed issues related to label colors not updating correctly when custom colors are changed.

- **Performance Enhancements:**
- Further optimized the script to reduce latency and improve real-time chart performance.

---

### 🔄 Upgrade Instructions

1. **Access the Indicator:**
- Open your TradingView chart and navigate to the **Indicators** section.

2. **Update to Version 1.3:**
- If you have the indicator already added, it should automatically update. If not, remove the old version and add the **Previous Highs + Lows v1.3** indicator.

3. **Customize Line Colors:**
- Navigate to the **Line Colors** group in the indicator settings.
- Select your preferred colors for each timeframe’s high and low levels to match your trading style and chart design.

4. **Adjust Other Settings (Optional):**
- Utilize existing settings under **Level Settings** and **Label Settings** to further tailor the indicator to your preferences.

---

### 📚 Documentation & Support

For detailed guidance on using the new features in **Version 1.3**, please refer to the updated [**Indicator Documentation**](#). If you encounter any issues or have questions, feel free to reach out through our [**Support Channel**](#).

---

Thank you for using the **Previous Highs + Lows** indicator! We continuously strive to enhance your trading experience with regular updates and improvements. Stay tuned for more exciting features in the future!

*© H A Z E D*
closehighLOWopenPivot points and levelsprevioushighlowsupportandresitancethestrat

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 ?


Aussi sur:

Clause de non-responsabilité