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.
Biblioteca Pine
Siguiendo fielmente el espíritu de TradingView, el autor ha publicado este código Pine como una biblioteca de código, permitiendo que otros programadores de Pine en nuestra comunidad puedan volver a utilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en publicaciones se rige por las Normas internas.
Exención de responsabilidad
Biblioteca Pine
Siguiendo fielmente el espíritu de TradingView, el autor ha publicado este código Pine como una biblioteca de código, permitiendo que otros programadores de Pine en nuestra comunidad puedan volver a utilizarlo. ¡Un brindis por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en publicaciones se rige por las Normas internas.