Page 1 of 1

Help needed with alert webhooks

Posted: Tue Feb 13, 2024 10:36 am
by Morlac
Hi all!

Every tutorial wich is about creating webhook alerts from TV to discord says I have to use JSON format for messages like: {"text": "BTCUSD Greater Than 9000"}.

But what if my indicator uses alert() function?? It doesnt have a message box on the alert setup page, because the alert message is implemented in the code.
But it doesnt let me use {} characters in the alert() function arguments.

Can somebody help me how can i create webhoook alerts if my alerts are initiated from alert() function?