How to find Open price of a Month(Without using iOpen)

 

Hello,


I am trying to get Open price of Current month using iOpen, but its giving me error 4074 in Strategy tester if started from the middle of the month but it gives me prices when I start strategy tester from beginning of the Month. I need open price in any case. So is there any way except iOpen with which we can find Open price of month on a lower timeframe? 

 
Of course. Get the current time, get the date, get the date of the first of the month, iBarShift to find that bar on your chart, get that open.
 
whroeder1:
Of course. Get the current time, get the date, get the date of the first of the month, iBarShift to find that bar on your chart, get that open.

What if 1st is a holiday?

Reason: