Need quick clarity about Close[0] and Open[0].
I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely
opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from
previous close? or does it use current price as Close[0]. I hope my question is clear. Thanks for the Help. First post.
- What is the difference between Close[0] and Ask/Bid?
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- PRICE_CLOSE doesnt work in backtesting
Jonman_t:
I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from previous close? or does it use current price as Close[0]. I hope my question is clear. Thanks for the Help. First post.
I understand these are arrays and the [0] represents newest info. My concern is that the current candle that hasn't closed , has definitely opened. So it has a value for Open[0] but if I call Close[0] , since this latest candle hasn't closed yet , is this Close array pulling from previous close? or does it use current price as Close[0]. I hope my question is clear. Thanks for the Help. First post.
Close[0] is equal to Bid