OPEN-SOURCE SCRIPT
Highest High, Lowest Low 4H 30 Bars Lookback

This indicator plots the Highest High and Lowest Low levels over a selected lookback period, along with a Simple Moving Average (SMA). It helps identify breakout levels and trend direction.
Green Line → Highest High over the chosen period.
Red Line → Lowest Low over the chosen period.
Cyan Line → SMA of closing prices.
How to use:
A breakout above the Highest High may indicate a bullish move.
A breakdown below the Lowest Low may indicate a bearish move.
The SMA helps filter signals by trend direction.
Alerts are triggered when the price crosses above the Highest High or below the Lowest Low.
Green Line → Highest High over the chosen period.
Red Line → Lowest Low over the chosen period.
Cyan Line → SMA of closing prices.
How to use:
A breakout above the Highest High may indicate a bullish move.
A breakdown below the Lowest Low may indicate a bearish move.
The SMA helps filter signals by trend direction.
Alerts are triggered when the price crosses above the Highest High or below the Lowest Low.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
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.