Is it possible to write stock technical indicators with influx queries?

I’m looking to calculate technical indicators along side store OHLC candle data.

Would be nice to integrate these indicators:

Are these indicators possible using just the query language?

Looking for the same thing.

What did you do ? Implemented it on Kapacitor or streamed the data and process it yourself?