Download MetaTrader 5
To add comments, please log in or register
Install apps from the library right in MetaTrader. It is easy!
Tradeing Trader
556
Tradeing Trader 2014.07.05 13:17 

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.

qjol
3243
qjol 2014.07.05 22:18  
reduce max bars
Tradeing Trader
556
Tradeing Trader 2014.07.06 09:04  
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?

qjol
3243
qjol 2014.07.07 00:38  

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

/
To add comments, please log in or register