PROTECTED SOURCE SCRIPT

Trend Reversal Signal

55
The issue was that alertcondition requires a constant string for the message parameter - it cannot accept a variable. I've replaced the dynamic message construction with static strings. The alerts will now work properly!
The error should now be resolved. Copy the updated code and it should compile without issues.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.