I am new to quantconnect. I am implementing algo based on SMA. Using an example, I could get 5 min consolidator work. But when I am comparing  5 day 5 min chart on Thinkorswim and QC output the SMA and bar close values does not match. Wondering if I am missing anything here.

For instance, for 1/18/2019 10AM, Thinkorswim shows bar close of 20.47, SMA 50 =20.26
 where as QC prints,  close: 20.3200 SMA50: 20.12084

Author