Hi all,
I have been trying to get a weekly EMA going however I have realized Resolution only goes to Daily. With that being said, I have also tried to use a consolidator to create a Weekly bar to use:
Consolidate(symbol, Calendar.Weekly, WeeklyEMA);
However I keep receiving the error:
'Calendar' is an ambiguous reference between 'QuantConnect.Data.Consolidators.Calendar' and 'System.Globalization.Calendar'
I have looked through several posts as well as the docs and have not found what I was looking for. A desired example would be something similar to:
ExponentialMovingAverage weekly1 = EMA(symbol, 1, Resolution.Weekly);
(I know this doesn't compile just as an example).
Thank you for your assistance!