I am getting the following error and don't know what I need to do to overcome it:
"The type or namespace name 'DisplayModelList' could not be found (are you missing a using directive an assembly reference?)"
public enum DisplayModeList { Detailed, Briefed, } [NinjaScriptProperty] [Display(Name="Display Mode", Description="", Order=4, GroupName="Misc Parameters")] public DisplayModeList DisplayMode { get { return iDisplayMode; } set { iDisplayMode = value; } }
This is how I am declaring and initiating my variable.
//declaration public class JGActualIndocator : Indicator { private DisplayModeList iDisplayMode; //initiating the variable if (State == State.SetDefaults) { iDisplayMode = DisplayModeList.Detailed;
JG
Comment