Looking for ClosePrice
Created at 27 Jun 2020, 18:58
EL
Looking for ClosePrice
27 Jun 2020, 18:58
Hi
I looking for the Close Price for specific hours but the result appear one hour after.
Print("Close", " ", Bars.ClosePrices.Last(1));
Please, someone can help me and show why this expression below is not correct?
Tks
genappsforex
28 Jun 2020, 13:44
Print("Close", " ", Bars.ClosePrices.Last(1));
Will give you the price of the last closed bar.
So if it's 9:30 and your timeframe is 1 hour then it will give the closing price of the bar that ended just before 09:00
@genappsforex