DevSignalLibrary

This is a modified and fully standalone version of a popular public library for calculating non-repainting structural points (Zig Zag).
Core Purpose
This library was created to ensure the long-term stability and independence of indicators from external scripts. It solves the problem where a primary indicator might stop working because the original library's author changes their username or deletes the script.
The library exports one main function, signalLib(), which is the core engine for identifying significant swing highs and lows on the chart.
Features and Modifications
Full Autonomy: The library's code can be imported into any of your indicators, making them completely self-contained.
Pine Script v6 Compatibility: The code has been fully refactored and adapted for the latest version of Pine Script, ensuring it functions correctly.
Preserved Logic: The fundamental calculation algorithm has been kept unchanged to preserve its effectiveness.
Credits and Original Source
This code is an adaptation of the public signalLib library, which was created by Yash Gode and published by user RezzoRedPriest.
This modification was made by user Dev0880 for the purpose of ensuring stability and compatibility in personal projects.
Bibliothèque Pine
Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans des publications est régie par nos Règles.
Clause de non-responsabilité
Bibliothèque Pine
Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans des publications est régie par nos Règles.