OPEN-SOURCE SCRIPT
Updated

EMA 08:00

755
// Some traders prefer to start the charts at 8am in the morning.
// This chart setting is not possible as of today, but the following script lets you calculate ema for a defined time range.
// Right now it is set to include bars from 08:00 to 23:59, meaning that early pre market 04:00 to 07:59 is left out.
Release Notes
picture cleanup
Release Notes
added timeframe input so that ema can be bound to timeframe independently from chart timeframe; added comments
Release Notes
Changed the use of security() so that htf ema will now show a step line instead of a regular line. Changed the default time range for session of interest to 08:00 - 19:59

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.