Ger30 MA, Pivot ... Different Values because of the Close Value

 

Hi,

when I use indicators for the Ger30 than the Pivot and the MA are calculating with the Close-Value at 22 o'clock.

How can I calculate them with the values at 17:30 p.m.?

What do I have to write instead of Close[i+1]?

 

To say it in another way:

How can I get the price from yesterday 17:30 p.m.?

 
 
sunshineh:

To say it in another way:

How can I get the price from yesterday 17:30 p.m.?

You can get the datetime for 17:30 pm . . . simple maths, then use iBarShift to get the bar number . . . then use Close[] or iClose()