I believe he is attempting to duplicate what you have and what Jack had created here:
https://www.elitetrader.com/et/threads/fortes-fortuna-juvat.282311/page-10#post-4446063
There is nothing wrong with it. It is just that Jack introduced a completely different framework that was predominantly based on volume only. We want to understand it better.
Programming is not the difficult aspect of this pursuit. Understanding the logic may very well be.
There are volume labels on Jack's chart such as P1,P2,P3,T1 and T2 which each of their exact definitions remains somewhat unclear.
Look like we can team up in this endeavor.
I remember somebody tried to explain to me what P1, P2, P3, T1 and T2 means but I can't find it. It's may be on TL.