This Pine Script indicator plots two Simple Moving Averages (SMA) based on high and low prices over a specified length. It also references the H4 (4-hour) timeframe SMA to determine the color of the lines:
- Green if the current price is above the H4 SMA High. - Red if the current price is below the H4 SMA Low. - Orange if the price is between the H4 SMA High and Low.
This helps traders visualize market trends based on higher timeframe SMA levels.