PROTECTED SOURCE SCRIPT
Hour-End SMA

This indicator calculates a Simple Moving Average using true RTH hour-end prices (10:00–16:00 ET), solving TradingView’s 1H RTH candle misalignment issue.
The SMA is derived from 30-minute bars to ensure sufficient historical depth, making it reliable even for large lengths such as SMA100 and SMA200.
Designed for traders who rely on hour-end moving averages while working in TradingView.
Example: Hour-End SMA matches TC2000 Simple Moving Average values
The SMA is derived from 30-minute bars to ensure sufficient historical depth, making it reliable even for large lengths such as SMA100 and SMA200.
Designed for traders who rely on hour-end moving averages while working in TradingView.
Example: Hour-End SMA matches TC2000 Simple Moving Average values
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.