Query editor
with price as (Selecttimestamp as day,priceFrom prices.dayWhere contract_address = 0xEa237441c92CAe6FC17Caaf9a7acB3f953be4bd1and blockchain = 'plume'),tvl as (Selectday,total_usdFrom query_5704130)Selectp.day,p.price,avg(p.price) over (order by p.day rows between 29 preceding and current ROW) as ma_30days,avg(p.price) over (order by p.day rows between 99 preceding and current row) as ma_100days,avg(p.price) over (order by p.day rows between 199 preceding and current row) as ma_200days,t.total_usdFrom price pLeft join tvl t on t.day = p.day