Disliked{quote} Thank Kilian19 ! But it must be something else to fix. Add check: if (TSBUL != 0.0) ExtMapBuffer1[ i ] = TSBER / TSBUL; if (TSBER != 0.0) ExtMapBuffer2[ i ] = TSBUL / TSBER; Otherwise, the indicator is sometimes error - divide by zero. I have this error several times already apparent. 2015.12.04 21:57:53.547 2015.12.01 00:00 Testing pass stopped due to a critical error 2015.12.04 21:57:53.481 2015.12.01 00:00 Kiosotto_fixed EURUSD,M1: zero divide in 'Kiosotto_fixed.mq4' (68,32)Ignored
This problem appears when the bars back value goes further than the amount of bars printed on the chart. This value is roughly 300 for the backtester. Just use a smaller number and you should be fine