Hello, 

I am new to Quantconnect and I am trying to learn the software by writing a simple algorithm that buys bitcoin when the price goes above the 21 bar EMA and sells when the price goes below the 21 bar EMA. The algorithm will only do this when the 21 bar EMA is above the 200 bar EMA

In order to debug, I am plotting my data on a custom chart so that I can see what my algorithm is doing.

First, I initialize my EMA indicators and warm them up. 

The final step is for the algorithm to plot the data. However, it currently plots the warm up period and not the time period specified by my SetStartDate and SetEndDate. 

Please Help! 

Pseudo code of what I need to do: 

if date ≥ StartDate: 

   plot(data)