Looking for hammer candles, do I need to check prices of current or last candle?

 

Hello,


A simple question as I'm a bit confused..


If Close[0] returns the close price of the current bar, wouldn't it also be the same as the bid price(in the case that the chart is drawn by the bid price)?


And if so, if I'm looking for a certain candle type like a Hammer candle, I would have to check the previous bar's - [1] prices and not the current one's?

Since the current candle has not yet taken it's final shape.


Thanks

 
PsychosisMNY:

If Close[0] returns the close price of the current bar, wouldn't it also be the same as the bid price(in the case that the chart is drawn by the bid price)?

I believe Close[0] is the "last price," not bid or ask.

See: https://www.mql5.com/en/forum/298917#comment_10233717

 
PsychosisMNY:

Hello,


A simple question as I'm a bit confused..


If Close[0] returns the close price of the current bar, wouldn't it also be the same as the bid price(in the case that the chart is drawn by the bid price)?


And if so, if I'm looking for a certain candle type like a Hammer candle, I would have to check the previous bar's - [1] prices and not the current one's?

Since the current candle has not yet taken it's final shape.


Thanks

Current Close is the last deal, no matter if it was on the Bid or Ask range...

In order to really have the certainity of a Hammer you need to wait for it to close, so you need to check always Close[-1]...

;)

 
Thanks!
Reason: