Is there a way to record a bar using iTime?

 
I'm coding an EA based on price action, but I have one part where I need to record a "signal bar," (for example a pin bar or a second bar of a 2 bar reversal). So if I see such a bar, I can assign the value iTime of that bar to a global variable. Now, given the datetime of that bar, how can I find its high, low, open and close? (assume we are ahead by a few bars now, like 3)
 
Read the documentation - iBarShift - MQL4 Documentation
 
Awesome! Just what I needed. Thanks!
Reason: