I've been looking for the same thing, and I was looking at what datapoints are available in Thinkscript, and unfortunately I have not come up with a satisfying answer. The consensus, as far as I am aware, is that ToS does not provide "true" tick data, so this might be why it's so hard to find a ToS CD indicator.
ShadowTrader's Danno put together a "tape reader" for ToS which seems to be intended to be like a CD indicator (in their premium services section); they were charging $200 for it, but that part of the site is temporarily down. There's a free webinar in their webinar section about this indicator. I have it, and I don't think it's as useful as PjsCumDelta for Ninja (in the downloads section of futures.io); I find that a "cleaner" CD indicator has better resolution than the tape reader.
The following user says Thank You to DeliberatingDinos for this post:
Yeah, this is what I have kept reading. My friend wanted me to write something in ThinkScript for him but it doesn't seem like it would help anyway. I guess I can refer him to a different platform. Thanks for the info!
I can definitively tell you that the raw ToS data can not construct this indicator. You could try and proxy it with the filtered data, but then you'd probably be better off just using something like OBV.
To get CD, you need a better data vendor, and then at that point you might as well chart it outside of ToS.