OPEN-SOURCE SCRIPT

Highest High, Lowest Low + LH→HH Alert

28
Added a persistent variable lastWasLowerHigh that remembers if the last window was a LH.

When a Higher High comes after that, it fires the alert and resets.

No more direct [topPer] lookback → instead it uses logic across bars.

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.