OPEN-SOURCE SCRIPT

Highest High, Lowest Low 4H 30 Bars Lookback

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

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.