Bid price for a specific time

To add comments, please log in or register
Gordon Gekko
629
Gordon Gekko  
Hi All!

How can I make a code to know the bid price of a specific time?
For example: I'd like to know the EURUSD bid price on 2007.05.03 15:35. What is the code?

Please, help me!
Thank you!
Mike
281
Mike  

You can learn Bid with accuracy of 1 minute, as this minimum period.

15:35 - this time, opening a new pricing minutes and 5 minutes candles. So should go to the bar this time to find his number and call him with the function iopen ().

Ray
2646
Ray  

Take your pick of Open, High, Low, or Close. Bid/Ask only applies to current tick

You need the history for the minutes of the specified time, otherwise, use higher timeframe

double specifedClose = iClose(Symbol(), PERIOD_M1, iBarShift(Symbol(), PERIOD_1M, StrToTime("2007.05.03 15:35")));

paul selvan
627
paul selvan  
 iClose(...),  Close[..] are also Bid price 
To add comments, please log in or register