OPEN-SOURCE SCRIPT

Highest High, Lowest Low + LH→HH Alert

26
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.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.