How to load more bars in a chart programatically?

 

Hello,

I noticed a new MT chart loads 2048 bars by default.


My expert needs 2 complete days or 2 * 1440 = 2880 bars on a M1 chart.


Can the expert force MT to load more bars?




 
Miroslav_Popov:

Hello,

I noticed a new MT chart loads 2048 bars by default.


My expert needs 2 complete dais or 2 * 1440 = 2880 bars on a M1 chart.


Can the expert force MT to load more bars?

I would like to know the answer too (I had the same problem in the past but couldn't find a way... eventually did it by hand).

 

Hello,

This is a joke solution !!!

Please laugh. :-)

Files:
_test.mq4  2 kb
 
fai:

Hello,

This is a joke solution !!!

Please laugh. :-)

:-) good one.

Is there a somewhat more... elegant solution?

 
tools -> options -> chart -> bars in history
 
WHRoeder:
tools -> options -> chart -> bars in history

That only sets max bars in history/chart, it does not force the Terminal to download them.

 

Great solution fai :)

Reason: