I am trying to create a custom indicator that records the closing price of a futures contract from the day before so I can compare the current price to yesterday's closing price.  I created a SymbolData class for the consolidators.  The problem I have is I get the error message “Invalid third argument, should be either a valid consolidator or timedelta object” on line 189 for the custom indicator I created (commented out line 189 so backtest would run), but when I use that exact same consolidator for self.rsi on 198 it works just fine and I get a daily RSI calculation.  I have tried using different consolidators and timedeltas and nothing seems to make that error message go away.  I am really at a loss on what needs to change in order for my custom indicator to use 1-day-consolidated data.  

Any guidance is much appreciated!