Basic question,

So - If I am creating an ea - and I plop it on the chart, and part of the ea is based upon the H and L of the zero hour bar.

Is there a simple way to garner that information?

All I can think of is to loop backwards until I get to the 0 hour, but is there something simpler?

thanks

yeah there’s all you need is just gather daily market price data, you can simply download these price market history at several places. tickstory one of them

It might be easier to create an indicator for it first, and then reference the custom indicator in your EA.

Thanks guys.