Hi.
I've tested my expert for some time. The expert uses muliple time frames. I've added some time frames and now the expert keeps on loading ie the 30min start over and over. I can see the memory usage going up as the chart is loaded over and over. I tried to remove the one that being loaded over and over,
Thanks for the info. I now have a place to start looking. :)
Hi there.
I've been playing around with the Icustom. I'm stumped. The exaxt code works or woked. I did find however that if I set the date from 2008-01-01 until eg 2009-05-01 there is no problem. If I tick the "use date" section off I get the same thing. Turn it on, works perfectaly, off problem. Very strange.
one_hour_haOpen=iCustom(NULL,60,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,2,0);
one_hour_haClose=iCustom(NULL,60,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,3,0);
Here is there "error". It will keep on doing this until my pc runs out of memory. Sometimes I have to reboot.
2009.03.10 20:12:05 2008.01.15 01:51 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:04 2008.01.15 00:23 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:23 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:23 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:22 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:22 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:22 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:22 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:21 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:02 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:02 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:01 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:01 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:01 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:01 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:03 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:12:00 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,Monthly: loaded successfully
2009.03.10 20:11:57 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,Weekly: loaded successfully
2009.03.10 20:11:54 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,Daily: loaded successfully
2009.03.10 20:11:54 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,H1: loaded successfully
2009.03.10 20:11:54 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
2009.03.10 20:11:54 2008.01.15 00:00 Heiken_Ashi_Smoothed EURGBP,M30: loaded successfully
Another try.
2009.03.10 20:23:00 2006.11.15 04:45 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:45 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:45 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:44 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:44 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:44 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:44 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:43 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:43 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:43 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:43 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:23:00 2006.11.15 04:42 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:22:59 2006.11.15 04:42 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:22:59 2006.11.15 04:42 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:22:59 2006.11.15 04:42 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:22:59 2006.11.15 04:42 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
2009.03.10 20:22:59 2006.11.15 04:42 Heiken_Ashi_Smoothed GBPUSD,H4: loaded successfully
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi.
I've tested my expert for some time. The expert uses muliple time frames. I've added some time frames and now the expert keeps on loading ie the 30min start over and over. I can see the memory usage going up as the chart is loaded over and over. I tried to remove the one that being loaded over and over, but then it just reloaded another timeframe's data.
I've "redone" the expert from an older one. It worked fine, then started to do the same thing. Sometimes the expert runs in backtest, but still loads one timeframe over and over. This is very frustrating!
Any ideas what is happening? I had the same problem a couple of months ago, but it whent away again. It does not make sense!
Thanks to all for any input. :)
Here is the code where I assume it actualy loads the time frame. I've used this in many other experts and they all ran fine. I'm very confused.
thirty_min_haOpen=iCustom(NULL,30,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,2,0);
thirty_min_haClose=iCustom(NULL,30,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,3,0);
one_hour_haOpen=iCustom(NULL,60,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,2,0);
one_hour_haClose=iCustom(NULL,60,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,3,0);
one_day_haOpen=iCustom(NULL,1440,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,2,0);
one_day_haClose=iCustom(NULL,1440,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,3,0);
one_week_haOpen=iCustom(NULL,10080,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,2,0);
one_week_haClose=iCustom(NULL,10080,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,3,0);
one_month_haOpen=iCustom(NULL,43200,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,2,0);
one_month_haClose=iCustom(NULL,43200,"Heiken_Ashi_Smoothed",MaMetod,MaPeriod,MaMetod2,MaPeriod2,3,0);