I would like to use assert
in pinescript for bug detection. assert
statement is available in python and C/C++. I hope there is an easy way to use assert in pinescript.
There's a library available but it looks complicated to me.
https://www.tradingview.com/script/Ddd3hMq8-assert/
I am using pine-script v5