I think that there should be a limit to the amount of bars it calculates back. My poor Intel4 with hyperthreading was cooking trying to get the indicators on the chart

Unfortunately it didn't work for me. I noticed in the code, that it uses another custom indicator; SuperTrend, can you post your version here?