OPEN-SOURCE SCRIPT

VN30 RSI Divergence RSI Volume

251
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.

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.