CS0029
The following CS0029 error code information is provided within the context of NinjaScript. The examples provided are only a subset of potential problems that this error code may reflect. In any case, the examples below provide a reference of coding flaw possibilities.
Error Code Explanation
This error can occur when you try to convert from one type to another type.
To fix this error, ensure that you are assigning the correct value type.
Error Description #1
Cannot implicitly convert type ‘int’ to ‘bool’
Error Description #2
Cannot implicitly convert type ‘double’ to ‘bool’
Error Description #3
Cannot implicitly convert type ‘NinjaTrader.NinjaScript.Indicators.SMA’ to ‘double’

