What function is key to build a session indicator?

 

Hi all,

I am building an indicator that displays london open / close / high /range.

The problem I encountered is the following, since we have a new bar every let's say every 1 hour. Trying to get the shift to have the london open price is impossible. Also, I tried the function iBarShift() but didn't succeed with it. I know there should be a way to do it (most probably a combination of iBarShift() and timeCurrent() ) but didn't figure it out yet. Any suggestions?

Thx

Reason: