Download bars programmatically

 

Hi Experts!

I would like to get a little help.
There is an EA, which only begins to work when there is enough bars available.
A newly installed MT4 contains only a few candles, and so EA does not work.

Are there some programmatic solution that EA downloads the minimum required number of candles, or this can only be done manually through the charts?

Thx

 
WM_COMMAND, 33324