My EA is blocking my MT4

 

hello community

I am new here, so please excuse any mistakes

I run a "designed" volume EA - 14 single "incicators" and 1 template

recently I experience a complete slow down and "blocks" of my MT4 -

I have changed nothing so far

so what could cause the "problem" ?

thanks in advance for any answer

cheers

 

Computer Memory / Internet connection / Increasing EA calculations / Virus

 
Probably, indicator recomputes every bar every tick instead of only the last.
int init(){
        lookback.atr    = ATR.Period;
        lookback.ma     = StdDev.MA.Period;
        lookback.std    = StdDev.MA.Period;
        lookback.fast   = MA.Fast.Period   + lookback.std;
        SetIndexDrawBegin(0,lookback.atr);
        SetIndexDrawBegin(1,lookback.std);
        SetIndexDrawBegin(2,lookback.fast);
        :
}
int     MathMaxI(int a, int b){
                        if(a>b) return(a);              return(b);             }
int start(){
   int counted_bars=IndicatorCounted();

//---- last counted bar will be recounted
   for(int iAtr=Bars-1-MathMaxI(lookback.atr, counted_bars); iAtr >= 0; iAtr--)
    {
      ATRBuffer[iAtr]=iATR(NULL,0, ATR.Period, iAtr);
    }
See also Contradictory information on IndicatorCounted() - MQL4 forum
 

I Bought the <Deleted> no advertising intended, the indicators were in abundance, as was the template, by sheer volume the whole platform was at a snails, if not less, pace, Ickyrus has a valid point

EDIT

chances are you are running the EX- file so you would not be able to see any code, hence WHRoeder's suggestion could be un-usefull

 
robbo: hence WHRoeder's suggestion could be un-usefull
When you registered, perhaps you missed the part about Any discussions except of concerning MetaQuotes Language 4 and auto trading are forbidden. If you are NOT talking about your code, you're off topic. My comment was only for ON-topic post.
 
MaaTini:

hello community

I am new here, so please excuse any mistakes

I run a "designed" volume EA - 14 single "incicators" and 1 template

recently I experience a complete slow down and "blocks" of my MT4 -

I have changed nothing so far

so what could cause the "problem" ?

thanks in advance for any answer

cheers

Hi, I have the same problem, half a year everything were Ok, but on 10 th of august this year all got frosen. EAs not responding, no actions at all, data trafic Ok.

Rehards,
 
Ivars Sirenko:
Hi, I have the same problem, half a year everything were Ok, but on 10 th of august this year all got frosen. EAs not responding, no actions at all, data trafic Ok.

Rehards,

I have the same problem with one template and indicators, don´t now what to do!

thanks,


JJ

Reason: