Slow indicator on backtest

Hey guys what causes    indicator to be very slow on backtesting and  pausing   from time to time  also very  slow while used in EA  
Check that with (editor) Tools => Profiling. It shows the most time consuming lines...