The mistake is that it does what a custom indicator should do, but EAs are not really the right place to do Indicator's job. You can see in the code how much stuff is in there and how complicated it looks - it's because of that. And I also think the performance is lower in this way. These blocks was some of my ideas that I wanted to try, and because I am not an indicator guy... this is the result 🙂