Simple Question: How to get the price of a currency x bars back.

[Deleted]

Let's say I am looking for the closing price for the EURUSD from 50 bars ago. How would I write that into a script? Thanks,

If it is on EURUSD chart - Close[50], if another - iClose("EURUSD",60(for one hour chart),50).
[Deleted]
Cool...thanks!