I am recieving these errors when trying to compile the renko consolidator script from

https://github.com/QuantConnect/Lean/blob/master/Algorithm.CSharp/RenkoConsolidatorAlgorithm.cs

46 | 15:23:23:

Build Error: File: Main.cs Line:30 Column:55 - 'RenkoConsolidatorAlgorithm' does not implement interface member 'IRegressionAlgorithmDefinition.CanRunLocally'

47 | 15:23:23:

Build Error: File: Main.cs Line:61 Column:109 - The name 'x' does not exist in the current context

Any help would be appreciated. 

Thank you

Barrie