timescale / timescaledb-toolkit

Extension for more hyperfunctions, fully compatible with TimescaleDB and PostgreSQL 📈
https://www.timescale.com
Other
385 stars 47 forks source link

Heikin-Ashi aggregate functions in addition to simple candlesticks #812

Open kworr opened 1 month ago

kworr commented 1 month ago

Details: https://en.wikipedia.org/wiki/Heikin-Ashi_chart

It might be really easy to implement just by changing the way values are calculated for candlesticks as they are mostly same and candlestick_agg() can be heavily reused for that.