Trading charts on @tradingview.
Sample code with moving averages.
Both SMA and EMA (simple- and exponential- moving averages) have indicators extending to 200 days, so I'll backtrace data to 400 days? 🤔
ANNOUNCEMENT
#cryptocurrency resource.
You have a record of the protocols you invest in and their ROIs, right? And you want to chart them, right?
./bar to the rescue: https://github.com/logicalgraphs/crypto-n-rust/tree/main/src/ch08/charts/bar