metatrader 4 crash using a custom Ind. calling another timeframe

 

Hi,

I'm creating a custom indicator.

this indicator call the iFractals indicator on another timeframe.

This cause MT4 to crash.

but... if I first open the time frame in MT4 (H4 for example), then going back to previous time frame (H1) and then adding the indicator in the window, doesn't crash!

so apparently if I never open a chart with the targeted time frame, MT4 crash.

I think its because the historical data is not here(?)

any idea why?

and how to solve this problem? (or how to force MT4 to load historical data)

thanks.

 
Reason: