I use this indicator and I promise a lot from it. The indicator must be restarted several times before analysis. Backtests only work with a limited history. The history is different for each couple. Would anyone be able to recode the indicator according to the above rules?