OPEN-SOURCE SCRIPT

HOWTO: Skip consecutive signals

10 422
This code snippet is an answer to IagoLemos getsatisfaction.com/tradingview/topics/pine-script-how-to-ignore-same-event-happening-twice-in-a-row
Written in hope that it would be helpful.
It shows how to skip duplicating signals.
Cheers!

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.