But when priceClose(0) is the close of the last closed bar what is priceOpen(0)? The open of the last closed bar and what is the open price of the current bar???

That really makes no sence to me.


This is what the manual shows me:

'priceClose() returns the close price of the current bar, i.e. the most recent price.'

When priceClose() = priceClose(0) then i don't think that priceClose(0) is the closing price of the last closed bar!