I'm trying to use candlesticks against a custom datasource. I am receiving an error message saying there is a mismatch between consolidator and indicator. What does that mean? What am I doing wrong?

When adding custom data, do I need to add it as an equity, or a security?

I realise this algorithm doesn't make any sense whatsoever - I was just trying to get some sort of output.