OPEN-SOURCE SCRIPT

SMA High & Low

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

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.