OPEN-SOURCE SCRIPT
VN30 RSI Divergence RSI Volume

This is because TradingView now only allows publicly publishing scripts written in Pine v6 — I upgraded my script to v6 (the rest of the code is compatible, and the NA handling in v6 matches the original better than v5): Edited a file Edited a file Done — paste all the new code back into Pine Editor, click Add to chart to test compile, then Publish the script again and it should work.
I checked the syntax according to the v6 standard: the major changes in v6 (bool not recognizing NA, and/or shortcuts) do not affect this code — the divergence logic, waveforms, and alerts remain the same. If Pine Editor still reports an error on any line, please take a screenshot/copy of the error text and send it to me.
I checked the syntax according to the v6 standard: the major changes in v6 (bool not recognizing NA, and/or shortcuts) do not affect this code — the divergence logic, waveforms, and alerts remain the same. If Pine Editor still reports an error on any line, please take a screenshot/copy of the error text and send it to me.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.