I have read this, this, this, and other posts. It's not clear yet how I can create a candlestick chart based on the daily OHLC values and colour each candle according to some rules. (I don't want to run on a minute/hour resolution in order to build the chart.). My goal is create a chart that looks like this: https://www.tradingview.com/x/xgeqDHzM.

Secondary problem: Whenever I tried using a smaller resolution, I'd get a weird error: ‘NoneType’ object has no attribute Close.

Should I be approaching this differently? Maybe I shouldn't be trying to use QuantConnect's charting functionality and should, instead, be using matplotlib? If so, maybe I should be moving my work over to a Notebook instead?