How shift bars for indicator-calculation?

 

Hi,

I use daily timeframe to display indicators like MACD etc.

For this purpose the iMACD-function uses the daily bars of the underlying equity.

How do I calculate a new MACD that uses daily bars (24h) where the bar starts at an arbitrary hour, e.g. 10:00 and lasts until 09:59 the next day?

Thanks!

Uwe

 
Ich555: I use daily timeframe to display indicators like MACD etc. For this purpose the iMACD-function uses the daily bars of the underlying equity. How do I calculate a new MACD that uses daily bars (24h) where the bar starts at an arbitrary hour, e.g. 10:00 and lasts until 09:59 the next day? Thanks!

There is no such built-in functionality, so you will have code your own functions or Custom Indicator to do that for you.

Reason: