ianj1234567 / Publications
Forum
iOpen returning 0.0 value on the hourly chart
Hi I have an EA which runs at 7.01 a.m. and it active on a 4 hour chart. I need to obtain the Open values on the hourly chart so am using the line of code PriceAtSevenOpen = iOpen(0,PERIOD_H1,0); When printing out the value "PriceAtSevenOpen" it intermittently returns a 0.0 or wrong value