// 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.
// 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.
Notes de version:
picture cleanup
Notes de version:
added timeframe input so that ema can be bound to timeframe independently from chart timeframe; added comments
Notes de version:
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