I already tried resetting the database as well.
Here is the code as added in the NinjaProperties Section
[NinjaScriptProperty]
[Display(Name="L_MA_Type", Description="Long Trades Choose a Moving Average Type.", Order=11, GroupName = "Parameters")]
public CustomEnumNamespace.L_UniversalMovingAverage L_MA_Type
{
get { return L_MA_Type; }
set { L_MA_Type = value; }
}
If I comment out this code and anything else that uses this ENUM variable, it compiles and loads in Analyzer just fine.
Code from declaration
namespace CustomEnumNamespace
{
public enum L_UniversalMovingAverage
{
SMA,
EMA,
WMA,
VWMA,
}
}
Any suggestions? ENUM types are supposed to be serializable by default form what I've read (?) so I'm not sure why not working.
Thank you,
Jeremy
Comment