Making multitimeframe charpictures

 

Hello,

i want to make from a few currencys chartpictures from 9 timeframes. At moment i have for every timeframe open a own chart but the pc and metatrader become a little bit slower, because it coast him much power.

I want to ask you here, if somebody know a way to get/make chartpictures easyer, which does not coast the pc and metatrader so much power?

If i want to get for exampel just for 5 currencys all timeframe pictures, then i already must open more then 40 charts and with all  indicators on this chart, that makes the pc and metatrader very slow.

 
reduce max bars
 
qjol:
reduce max bars

i have done that already, but i would like to have a better solution if possible. if you open 40 or more charts then it become to much for metatrader.

the indicators on chart are also not so much, the problem is just to much open charts coast to much PC power.

but if i dont open for every timeframe a chart, then i cannot create a screenshot from that timeframe or?

 

if you just need a screenshot you can use something like this


for(int i = 0; i <= SymbolsTotal(false); i++)
   {
   long ChrtID = ChartOpen(SymbolName(i, false),PERIOD_D1); //open the chart
   while (iClose(SymbolName(i, false),PERIOD_D1) != 0) // avoid error 4066
      Sleep(500);
   WindowScreenShot(......); // take a ScreenShot
   ChartClose(ChrtID); // Close the chart
   }


didn't checked or tested just the guideline

you can do it OnTimer

Reason: