Hi, 

I'm pretty new to Quanconnect platform, thus I'm having a difficult time implementing my trading algorithm on this platform. I have been creating most of my algorithms through Python in Quantopian, but since they removed integration I have decided to use Quantconnect. 

Being said, I have an example of Bollinger Bands With Trading Algo, when I try to backtest my algorithm on Quantconnect I get a lot of errors and I'm not sure how to fix it. Can someone show/explain me a very basic structure on how to backtest my algo on this platform? 

Please see the code below.

Thanks,

Nikita